mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
make benchmarks take object count as argument
This commit is contained in:
parent
87efe139e9
commit
21e69ecf93
1 changed files with 4 additions and 3 deletions
|
@ -1,8 +1,9 @@
|
|||
require "v8"
|
||||
require "Benchmark"
|
||||
require 'bundler/setup'
|
||||
require 'v8'
|
||||
require 'benchmark'
|
||||
|
||||
TIMES=10
|
||||
OBJECTS=100
|
||||
OBJECTS = (ARGV.first).to_i || 100
|
||||
|
||||
|
||||
js= <<JS
|
||||
|
|
Loading…
Reference in a new issue