Skip to content

Commit

Permalink
remove unsupported method from bench
Browse files Browse the repository at this point in the history
  • Loading branch information
mamod committed Dec 16, 2017
1 parent a15e716 commit 8876834
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions Dev/bench.pl
Original file line number Diff line number Diff line change
Expand Up @@ -75,26 +75,6 @@
});
print_results("calling function", $t);
}

{ #setting functions
my $o = $obj->new();
my $i = 0;

$o->setfunc($duk->cache( sub {
# print Dumper \@_;
# print "cool\n";

# print "cool\n";
return 88;
}));

my $t = timeit($count, sub{
# my $n = $o->fn($i++, 7);
my $result = $o->testcall(1,3);
# print $result, "\n";
});
print_results("calling cached function", $t);
}
}

my @results;
Expand Down

0 comments on commit 8876834

Please sign in to comment.