Sha256: d5c8e123832365e69a172990804760157c890fe1d07bd077ff79830a06653678

Contents?: true

Size: 240 Bytes

Versions: 101

Compression:

Stored size: 240 Bytes

Contents

require "knj/knj"
require "#{$knjpath}compiler"

compiler = Knj::Compiler.new

time_start = Time.new.to_f

#0.upto(10000) do
  compiler.eval_file("compiler_test_file.rb")
#end

time_spent = Time.new.to_f - time_start
print "#{time_spent}\n"

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
knjrbfw-0.0.116 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.115 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.114 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.113 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.111 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.110 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.109 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.108 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.107 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.105 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.104 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.103 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.102 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.101 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.100 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.99 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.98 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.97 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.96 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.95 lib/knj/tests/compiler/compiler_test.rb