mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.benchmarks
git-svn-id: svn://ultimatepp.org/upp/trunk@6492 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
52634873d7
commit
39212decde
3 changed files with 26 additions and 0 deletions
9
benchmarks/ParseQTF/ParseQTF.upp
Normal file
9
benchmarks/ParseQTF/ParseQTF.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
CtrlLib;
|
||||
|
||||
file
|
||||
main.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "GUI SSE2";
|
||||
|
||||
4
benchmarks/ParseQTF/init
Normal file
4
benchmarks/ParseQTF/init
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef _ParseQTF_icpp_init_stub
|
||||
#define _ParseQTF_icpp_init_stub
|
||||
#include "CtrlLib/init"
|
||||
#endif
|
||||
13
benchmarks/ParseQTF/main.cpp
Normal file
13
benchmarks/ParseQTF/main.cpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
#define N 1000000
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
for(int i = 0; i < N; i++) {
|
||||
RTIMING("ParseQTF");
|
||||
ParseQTF("[G1 simple text");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue