gstreamer/test/bufspeed
Wim Taymans 783ceadd4d Some fixes
Original commit message from CVS:
Some fixes
2002-01-01 13:55:46 +00:00
..
.gitignore merge from EVENTS1 on 20011016 2001-10-17 10:21:27 +00:00
gstbuffer.c merge from EVENTS1 on 20011016 2001-10-17 10:21:27 +00:00
gstbuffer.h Some fixes 2002-01-01 13:55:46 +00:00
gstmempool.c merge from EVENTS1 on 20011016 2001-10-17 10:21:27 +00:00
gstmempool.h merge from EVENTS1 on 20011016 2001-10-17 10:21:27 +00:00
Makefile.am merge from EVENTS1 on 20011016 2001-10-17 10:21:27 +00:00
README merge from EVENTS1 on 20011016 2001-10-17 10:21:27 +00:00
test1.c merge from EVENTS1 on 20011016 2001-10-17 10:21:27 +00:00
test2.c merge from EVENTS1 on 20011016 2001-10-17 10:21:27 +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