1
0
Fork 0
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:
Charles Lowell 2012-06-20 02:20:13 -05:00
parent 87efe139e9
commit 21e69ecf93

View file

@ -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