Menu

Tree [r3] / lib / CompPerf.CVS /
 History

HTTPS access


File Date Author Commit
 DIR-C 2007-05-16 aotto1968 [r1] initial setup
 DIR-Rep 2007-05-16 aotto1968 [r1] initial setup
 DIR-Tcl 2007-05-16 aotto1968 [r1] initial setup
 Result 2007-05-16 aotto1968 [r1] initial setup
 README 2007-05-16 aotto1968 [r1] initial setup
 Special.c 2007-05-16 aotto1968 [r1] initial setup
 Special.h 2007-05-16 aotto1968 [r1] initial setup
 VERSION 2007-05-16 aotto1968 [r1] initial setup
 ot_expr.perf 2007-05-16 aotto1968 [r1] initial setup
 ot_inline_c.perf 2007-05-16 aotto1968 [r1] initial setup
 ot_list.perf 2007-05-16 aotto1968 [r1] initial setup
 ot_mem.perf 2007-05-16 aotto1968 [r1] initial setup
 ot_regexp.perf 2007-05-16 aotto1968 [r1] initial setup
 ot_uplevel.perf 2007-05-16 aotto1968 [r1] initial setup
 ot_upvar.perf 2007-05-16 aotto1968 [r1] initial setup
 project.cct 2007-05-16 aotto1968 [r1] initial setup
 tcl_append.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_catch.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_cond.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_data.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_eval.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_expr.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_list.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_loops.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_map.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_md5sum.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_morten.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_otto.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_proc.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_read.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_regexp.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_set.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_string.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_trace.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_unset.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_vars.perf 2007-05-16 aotto1968 [r1] initial setup
 tcl_vars_B.perf 2007-05-16 aotto1968 [r1] initial setup

Read Me

#§
#§  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   ---------------------------------
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<




Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.