PageRenderTime 52ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/test-suite/ruby/profiletest_runme.rb

#
Ruby | 20 lines | 7 code | 5 blank | 8 comment | 1 complexity | e59b285f5fdd5d6d8c9e2631162f6829 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. #!/usr/bin/env ruby
  2. #
  3. # Put description here
  4. #
  5. #
  6. #
  7. #
  8. #
  9. require 'swig_assert'
  10. require 'profiletest'
  11. a = Profiletest::A.new()
  12. b = Profiletest::B.new()
  13. for i in 0...1000000
  14. a = b.fn(a)
  15. end