mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Unit Tests - t.benchmark.t
- Added benchmark to measure time taken to parse 1,000,000 T records.
This commit is contained in:
parent
3088e1ebe1
commit
4fa4c5f532
5 changed files with 80 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
|||
PROJECT = t.t tdb.t date.t duration.t
|
||||
PROJECT = t.t tdb.t date.t duration.t t.benchmark.t
|
||||
CFLAGS = -I. -I.. -Wall -pedantic -ggdb3 -fno-rtti
|
||||
LFLAGS = -L/usr/local/lib
|
||||
OBJECTS = ../TDB.o ../T.o ../parse.o ../text.o ../Date.o ../util.o ../Config.o
|
||||
|
@ -29,3 +29,6 @@ date.t: date.t.o $(OBJECTS) test.o
|
|||
duration.t: duration.t.o $(OBJECTS) test.o
|
||||
g++ duration.t.o $(OBJECTS) test.o $(LFLAGS) -o duration.t
|
||||
|
||||
t.benchmark.t: t.benchmark.t.o $(OBJECTS) test.o
|
||||
g++ t.benchmark.t.o $(OBJECTS) test.o $(LFLAGS) -o t.benchmark.t
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue