added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2ee999ed53
commit
2ae6c092a8
4 changed files with 60 additions and 0 deletions
9
SWIG/Examples/test-suite/ruby/profiletest_runme.rb
Normal file
9
SWIG/Examples/test-suite/ruby/profiletest_runme.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
require 'profiletest'
|
||||
|
||||
a = Profiletest::A.new()
|
||||
b = Profiletest::B.new()
|
||||
|
||||
for i in 0...1000000
|
||||
a = b.fn(a)
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue