tclcompiler Code
Brought to you by:
aotto1968
#§ #§ CompPerf - README #§ #§ (C) IPN - Ingenieurbuero fuer Praezisionsnumerik #§ #§ Dipl.-Ing. Andreas Otto #§ Ulmenstrasse 3 #§ D-34289 Zierenberg #§ mailto:aotto@t-online.de #§ #§ Alle Rechte vorbehalten #§ REQUIREMENTS ============ to run the test's the "Compiler" package "CctPerf" http://tclcompiler.sourceforge.net/index_DlCompiler_D.html have to be installed. HOW TO RUN THE TESTs ===================== just type: "cct -t "MyTest" perf -n|-t|-c" with: -n .... call the native tcl test -t .... call the Tcl backend -c .... call the C backend or just type: "cct -a test -n|-t|-c" to run all available tests EXAMPLE ======= type: "cct -t tcl_append test -n" and get >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> loading script Cct CctPerf(v1.0) ............... BUILD(1) CONFIG MESSAGE: reading project file "Path/To/My/project.cct" working on package "tcl_append" with Native-Back-End OtKey(v2.0) ................. BUILD(8) PerfLib(v1.0) ............... BUILD(1) #1 : append-0 for loop #2 : append-1 dyn string #3 : append-2 append dyn string to CmpLoc #4 : append-3 append long dyn string to Var #5 : append-4 append short dyn string to Var #6 : append-5 append long dyn string to CmpLoc #7 : append-6 append short dyn string to CmpLoc #8 : append-7 append string's to CmpLoc append-0: 2267 microseconds per iteration for loop append-1: 11621 microseconds per iteration dyn string append-2: 9533 microseconds per iteration append dyn string to CmpLoc append-3: 15016 microseconds per iteration append long dyn string to Var append-4: 7975 microseconds per iteration append short dyn string to Var append-5: 14744 microseconds per iteration append long dyn string to CmpLoc append-6: 7456 microseconds per iteration append short dyn string to CmpLoc append-7: 26707 microseconds per iteration append string's to CmpLoc Total: 95639 microseconds per iteration --------------------------------- <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<