Skip to content

Commit cc28656

Browse files
committed
bench: shorten the interval for input 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: na - 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 02b8dd1 commit cc28656

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/node_modules/@stdlib/math/base/special/gammainc/benchmark/benchmark.native.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ bench( pkg+'::native:regularized=true,upper=true', opts, function benchmark( b )
4444
var z;
4545
var i;
4646

47-
x = uniform( 100, 0.0, 1000.0 );
48-
y = uniform( 100, 1.0, 1000.0 );
47+
x = uniform( 100, 0.0, 100.0 );
48+
y = uniform( 100, 1.0, 100.0 );
4949

5050
b.tic();
5151
for ( i = 0; i < b.iterations; i++ ) {
@@ -68,8 +68,8 @@ bench( pkg+'::native:regularized=true,upper=false', opts, function benchmark( b
6868
var z;
6969
var i;
7070

71-
x = uniform( 100, 0.0, 1000.0 );
72-
y = uniform( 100, 1.0, 1000.0 );
71+
x = uniform( 100, 0.0, 100.0 );
72+
y = uniform( 100, 1.0, 100.0 );
7373

7474
b.tic();
7575
for ( i = 0; i < b.iterations; i++ ) {
@@ -92,8 +92,8 @@ bench( pkg+'::native:regularized=false,upper=true', opts, function benchmark( b
9292
var z;
9393
var i;
9494

95-
x = uniform( 100, 0.0, 1000.0 );
96-
y = uniform( 100, 1.0, 1000.0 );
95+
x = uniform( 100, 0.0, 100.0 );
96+
y = uniform( 100, 1.0, 100.0 );
9797

9898
b.tic();
9999
for ( i = 0; i < b.iterations; i++ ) {
@@ -116,8 +116,8 @@ bench( pkg+'::native:regularized=false,upper=false', opts, function benchmark( b
116116
var z;
117117
var i;
118118

119-
x = uniform( 100, 0.0, 1000.0 );
120-
y = uniform( 100, 1.0, 1000.0 );
119+
x = uniform( 100, 0.0, 100.0 );
120+
y = uniform( 100, 1.0, 100.0 );
121121

122122
b.tic();
123123
for ( i = 0; i < b.iterations; i++ ) {

0 commit comments

Comments
 (0)