[gstreamer-bugs] [Bug 590919] gst_util_uint64_scale_int() and friends don't round
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Aug 11 00:33:26 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=590919
GStreamer | gstreamer (core) | Ver: git
------- Comment #14 from Sebastian Dröge 2009-08-11 07:33 UTC -------
Note that the new code is about 2.5 times slower and a 64 bit machine. The
times below are for 20000000 calls of gst_util_uint64_scale() with random 64
bit integers.
It's not good that we're that much slower now although only some refactoring
happened...
old:
---------
real 0m2.463s
user 0m2.440s
sys 0m0.012s
real 0m2.426s
user 0m2.396s
sys 0m0.016s
real 0m2.362s
user 0m2.340s
sys 0m0.016s
real 0m2.603s
user 0m2.552s
sys 0m0.004s
new:
---------
real 0m7.482s
user 0m7.344s
sys 0m0.016s
real 0m7.096s
user 0m7.080s
sys 0m0.012s
real 0m7.081s
user 0m7.056s
sys 0m0.016s
real 0m7.091s
user 0m7.064s
sys 0m0.016s
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=590919.
More information about the Gstreamer-bugs
mailing list