fixes to allow native to work - should revert when recursion is fixed
This commit is contained in:
4
bench.ce
4
bench.ce
@@ -523,9 +523,9 @@ function run_benchmarks(package_name, specific_bench) {
|
||||
|
||||
// Find matching native bench and run it
|
||||
nat_b = find(native_benches, function(nb) { return nb.name == b.name })
|
||||
if (nat_b) {
|
||||
if (nat_b != null) {
|
||||
_run_nat = function() {
|
||||
nat_result = run_single_bench(nat_b.fn, b.name)
|
||||
nat_result = run_single_bench(native_benches[nat_b].fn, b.name)
|
||||
nat_result.package = pkg_result.package
|
||||
nat_result.mode = "native"
|
||||
push(file_result.benchmarks, nat_result)
|
||||
|
||||
Reference in New Issue
Block a user