added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
13374b6a80
commit
0b945f2dd3
4 changed files with 60 additions and 0 deletions
8
Examples/test-suite/perl5/profiletest_runme.pl
Normal file
8
Examples/test-suite/perl5/profiletest_runme.pl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
use profiletest;
|
||||
$a = profiletestc::new_A();
|
||||
$b = profiletestc::new_B();
|
||||
|
||||
for ($i = 0; $i < 100000; $i++) {
|
||||
$a = profiletestc::B_fn($b, $a);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue