Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pierre Donat-Bouillud
audio-adaptive-scheduling
Commits
3d1ef832
Commit
3d1ef832
authored
Mar 04, 2019
by
Pierre Donat-Bouillud
Browse files
Adding buffer size 2048
parent
c1343f64
Changes
1
Hide whitespace changes
Inline
Side-by-side
benches/effect_benchmark.rs
View file @
3d1ef832
...
...
@@ -26,7 +26,7 @@ fn osc_bench(c : &mut Criterion) {
let
mut
output
=
vec!
[
DspEdge
::
new
(
1
,
1
,
*
n
,
44100
);
1
];
osc
.process
(
&
input
,
&
mut
output
)}
)},
vec!
[
64
,
128
,
256
,
512
,
1024
,
4096
]);
vec!
[
64
,
128
,
256
,
512
,
1024
,
2048
,
4096
]);
}
fn
mod_bench
(
c
:
&
mut
Criterion
)
{
...
...
@@ -42,7 +42,7 @@ fn mod_bench(c : &mut Criterion) {
let
mut
output
=
vec!
[
DspEdge
::
new
(
1
,
1
,
*
n
,
44100
);
1
];
modu
.process
(
&
input
,
&
mut
output
)}
)},
vec!
[
64
,
128
,
256
,
512
,
1024
,
4096
]);
vec!
[
64
,
128
,
256
,
512
,
1024
,
2048
,
4096
]);
}
fn
resampler_bench
(
c
:
&
mut
Criterion
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment