From 03cc2a9f2812169c7622ca4f79daef5d987c2918 Mon Sep 17 00:00:00 2001 From: saurabhraghuvanshii Date: Tue, 24 Dec 2024 00:39:08 +0530 Subject: [PATCH] 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 --- --- .../stats/base/dists/t/quantile/benchmark/benchmark.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/t/quantile/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/base/dists/t/quantile/benchmark/benchmark.js index 2b13a22bd251..e9d4da6a2a1c 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/t/quantile/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/stats/base/dists/t/quantile/benchmark/benchmark.js @@ -16,7 +16,7 @@ * limitations under the License. */ -'use strict'; +'use strict'; // MODULES // @@ -41,7 +41,7 @@ bench( pkg, function benchmark( b ) { len = 100; v = new Float64Array( len ); for ( i = 0; i < len; i++ ) { - v[ i ] = ( randu() * 20.0 ) + 3.0 + EPS; + v[ i ] = ( randu() * 100.0 ) + 3.0; } b.tic();