Skip to content

Commit 03cc2a9

Browse files
feat: improve benchmark.js
--- 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 --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: passed - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: passed - task: run_c_benchmarks status: passed - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: passed - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: failed ---
1 parent 1875f55 commit 03cc2a9

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/t/quantile/benchmark

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/base/dists/t/quantile/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
'use strict';
19+
'use strict';
2020

2121
// MODULES //
2222

@@ -41,7 +41,7 @@ bench( pkg, function benchmark( b ) {
4141
len = 100;
4242
v = new Float64Array( len );
4343
for ( i = 0; i < len; i++ ) {
44-
v[ i ] = ( randu() * 20.0 ) + 3.0 + EPS;
44+
v[ i ] = ( randu() * 100.0 ) + 3.0;
4545
}
4646

4747
b.tic();

0 commit comments

Comments
 (0)