This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/14412] New: Removal of sysdeps/x86_64/fpu/s_sincos.S causes pdf rendering time regression
- From: "markus at trippelsdorf dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 26 Jul 2012 21:07:44 +0000
- Subject: [Bug math/14412] New: Removal of sysdeps/x86_64/fpu/s_sincos.S causes pdf rendering time regression
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14412
Bug #: 14412
Summary: Removal of sysdeps/x86_64/fpu/s_sincos.S causes pdf
rendering time regression
Product: glibc
Version: 2.16
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: unassigned@sourceware.org
ReportedBy: markus@trippelsdorf.de
Classification: Unclassified
The removal of sysdeps/x86_64/fpu/s_sincos.S more than doubles
the time it takes to render a particular pdf testpage with Okular.
commit b35fe25ed9b3b406754fe681b1785f330d9faf62
Author: Andreas Jaeger <aj@suse.de>
Date: Wed Mar 7 14:51:39 2012 +0100
[BZ #13658]
* sysdeps/x86_64/fpu/s_sincos.S: Delete.
* math/libm-test.inc (sincos_test): Add test for large input.
See the following poppler bug:
https://bugs.freedesktop.org/show_bug.cgi?id=52551
With glibc-2.16 it takes ~1 minute to open that page:
# Overhead Command Shared Object Symbol
35.90% okular libm-2.16.so [.] feraiseexcept
12.30% okular libm-2.16.so [.] __sin
9.03% okular libm-2.16.so [.] __cos
5.01% okular libpoppler.so.26.0.0 [.] void
std::__introsort_loop<SplashIntersect*, long,
cmpIntersectFunctor>(SplashIntersect*, SplashInt
ersect*, long, cmpIntersectFunctor)
2.80% okular libpoppler.so.26.0.0 [.]
SplashXPathScanner::computeIntersections()
Before commit b35fe25ed9b3b40 it only takes 24 seconds:
# Overhead Command Shared Object Symbol
24.09% okular libm.so [.] __sincos
10.42% okular libpoppler.so.26.0.0 [.] SplashIntersect*
std::__unguarded_partition<SplashIntersect*, SplashIntersect, cmpIntersectFunc
tor>(SplashIntersect*, SplashIntersect*, SplashIntersect const&,
cmpIntersectFunctor)
5.73% okular libpoppler.so.26.0.0 [.]
SplashXPathScanner::computeIntersections()
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.