[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-recutils] Performance tests

From: Jose E. Marchesi
Subject: [bug-recutils] Performance tests
Date: Sat, 25 Feb 2012 22:20:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)


Today I added support for "performance tests" in the git version of
recutils.  This basically adds the machinery needed to support a "make
perf" target, which complements make check.

Some perf. tests for recsel are already in place.  I will add more tests
for the other utilities.

This is the output in my laptop (the creation of the auto-generated
input files is skipped because they were generated already).  recsel
needs 1 second to read a file with 20000 records... it is not that slow!

address@hidden:~/gnu/src/recutils$ make perf
make -C torture/utils perf
make[1]: Entering directory `/home/jemarch/gnu/src/recutils/torture/utils'
/bin/bash  p-recsel.sh
Running p-recsel test(s): 
  Creating input file 200-records.in ... skipped
  Creating input file 500-records.in ... skipped
  Creating input file 1000-records.in ... skipped
  Creating input file 10000-records.in ... skipped
  Creating input file 20000-records.in ... skipped
  recsel-200-records 0:00.01
  recsel-500-records 0:00.03
  recsel-1000-records 0:00.05
  recsel-10000-records 0:00.50
  recsel-20000-records 0:00.99
make[1]: Leaving directory `/home/jemarch/gnu/src/recutils/torture/utils'

Jose E. Marchesi         http://www.jemarch.net
GNU Project              http://www.gnu.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]