Skip to content

Commit 2c8d8e1

Browse files
committed
bench: adjust benchmark values
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: passed - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent caadd81 commit 2c8d8e1

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

lib/node_modules/@stdlib/stats/base/dists/logistic/mgf/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ bench( pkg, function benchmark( b ) {
4444
mu = new Float64Array( len );
4545
s = new Float64Array( len );
4646
for ( i = 0; i < len; i++ ) {
47-
t[ i ] = uniform( 0.0, 0.5 );
47+
t[ i ] = uniform( 0.0, 0.4 );
4848
mu[ i ] = uniform( -5.0, 5.0 );
4949
s[ i ] = uniform( EPS, 2.0 );
5050
}
@@ -79,7 +79,7 @@ bench( pkg+':factory', function benchmark( b ) {
7979
len = 100;
8080
t = new Float64Array( len );
8181
for ( i = 0; i < len; i++ ) {
82-
t[ i ] = uniform( 0.0, 0.5 );
82+
t[ i ] = uniform( 0.0, 0.4 );
8383
}
8484

8585
b.tic();

lib/node_modules/@stdlib/stats/base/dists/logistic/mgf/benchmark/benchmark.native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ bench( pkg, opts, function benchmark( b ) {
5353
mu = new Float64Array( len );
5454
s = new Float64Array( len );
5555
for ( i = 0; i < len; i++ ) {
56-
t[ i ] = uniform( 0.0, 0.5 );
56+
t[ i ] = uniform( 0.0, 0.4 );
5757
mu[ i ] = uniform( -5.0, 5.0 );
58-
s[ i ] = uniform( EPS, 5.0 );
58+
s[ i ] = uniform( EPS, 2.0 );
5959
}
6060

6161
b.tic();

lib/node_modules/@stdlib/stats/base/dists/logistic/mgf/benchmark/c/benchmark.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ static double benchmark( void ) {
102102
int i;
103103

104104
for ( i = 0; i < 100; i++ ) {
105-
x[ i ] = random_uniform( 0.0, 100.0 );
106-
mu[ i ] = random_uniform( 0.0, 100.0 );
107-
s[ i ] = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 20.0 );
105+
x[ i ] = random_uniform( 0.0, 0.4 );
106+
mu[ i ] = random_uniform( -5.0, 5.0 );
107+
s[ i ] = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 2.0 );
108108
}
109109

110110
t = tic();

0 commit comments

Comments
 (0)