Skip to content

Commit 8876834

Browse files
committed
remove unsupported method from bench
1 parent a15e716 commit 8876834

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

Dev/bench.pl

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -75,26 +75,6 @@
7575
});
7676
print_results("calling function", $t);
7777
}
78-
79-
{ #setting functions
80-
my $o = $obj->new();
81-
my $i = 0;
82-
83-
$o->setfunc($duk->cache( sub {
84-
# print Dumper \@_;
85-
# print "cool\n";
86-
87-
# print "cool\n";
88-
return 88;
89-
}));
90-
91-
my $t = timeit($count, sub{
92-
# my $n = $o->fn($i++, 7);
93-
my $result = $o->testcall(1,3);
94-
# print $result, "\n";
95-
});
96-
print_results("calling cached function", $t);
97-
}
9878
}
9979

10080
my @results;

0 commit comments

Comments
 (0)