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.49 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.48 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.47 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.46 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.45 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.44 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.43 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.42 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.41 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.40 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.39 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.38 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.37 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.36 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.35 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.34 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.33 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.32 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.31 lib/knj/tests/compiler/compiler_test.rb
knjrbfw-0.0.30 lib/knj/tests/compiler/compiler_test.rb