gstreamer/tests/bufspeed
Thomas Vander Stichele 0f5fb3402a eat your own dogfood
Original commit message from CVS:
eat your own dogfood
2002-01-05 10:19:32 +00:00
..
gstbuffer.c put everything in tests/ 2002-01-05 01:25:28 +00:00
gstbuffer.h put everything in tests/ 2002-01-05 01:25:28 +00:00
gstmempool.c put everything in tests/ 2002-01-05 01:25:28 +00:00
gstmempool.h put everything in tests/ 2002-01-05 01:25:28 +00:00
Makefile.am eat your own dogfood 2002-01-05 10:19:32 +00:00
README put everything in tests/ 2002-01-05 01:25:28 +00:00
test1.c compile fixen 2002-01-05 01:43:16 +00:00
test2.c compile fixen 2002-01-05 01:43:16 +00:00

benchmark of 5000000 gst_buffer_new/free on 0.2.1 code
------------------------------------------------------
gstmemchunk, no lock:   real    0m1.309s user   0m1.220s sys    0m0.070s
gmemchunk, no lock:     real    0m3.872s user   0m3.740s sys    0m0.090s
gstmemchunk, lock:      real    0m5.306s user   0m5.160s sys    0m0.100s
gmemchunk, lock:        real    0m8.001s user   0m7.890s sys    0m0.080s