Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Results of an informal evaluation of gcc optimizations

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
no_hope
Guru
Guru
User avatar
Posts: 482
Joined: Mon Jun 23, 2003 8:50 pm

Results of an informal evaluation of gcc optimizations

  • Quote

Post by no_hope » Mon Jun 30, 2008 1:45 am

Having experienced performance issues in X I benchmarked effects various gcc optimizations. Results are below.
  • CPU: Core 2 Duo T7200, 2GHz, FSB: 667Mhz, L2: 4MB
  • Kernel: 2.6.25.8 x86_64 SMP, 100MHz clock, no preemption
  • Gentoo: gcc 4.3.1; glibc 2.8_p20080602; xorg-server-1.4.2; xf86-video-i810-2.3.2 (ACCEPT_KEYWORDS="~amd64")
  • Benchmark: x11perf -repeat 3 -time 3 -reps 3 -all (took about 3 minutes to run -- probably not log enough)
  • Compilation methodology: would change make.conf and emerge xorg-server dependencies under x11-libs and x11-drivers
Notes:
  • Reference CFLAGS: -march=core2 -O2 -pipe
  • Performance of 0.000 means x11perf crashed.
  • The i810 driver wouldn't compile with -ftree-parallelize-loops=2, so for that test reference CFLAGS were used.
edit: How to read the table:
Table was constructed using modified output of x11perfcomp that comes with x11perf ebuild (see its man page for authoritative explanation). The first column is the reference objects-per-second rate achieved with -march=core2 -O2. I substituted actual rate with 1 (i.e. 100%) to save space. The other columns show the relative rate to the first column. Thus, 2.0 meas twice the reference rate, 0.5 means half the reference rate.

Some numbers are suspect. I'll re-run the tests later on for longer time to get more reliable data.

Code: Select all

1: x11perf-O2-REFERENCE
2: x11perf-Os
3: x11perf-frename-registers
4: x11perf-fsee
5: x11perf-ftree-parallelize-loops=2
6: x11perf-nocona
7: x11perf-tracer-treevectorize

     1        2       3       4       5       6       7    Operation
--------  ------  ------  ------  ------  ------  ------   ---------
1.0     0.97    1.01    1.01    0.93    0.99    0.98    Dot
1.0     0.99    1.03    1.03    0.99    1.01    1.01    1x1 rectangle
1.0     1.00    1.03    1.04    1.01    1.02    1.02    10x10 rectangle
1.0     1.01    1.00    1.00    1.00    1.00    1.01    100x100 rectangle
1.0     0.99    0.99    0.99    0.99    0.99    1.00    500x500 rectangle
1.0     0.87    0.94    0.97    0.93    0.91    0.95    1x1 stippled rectangle (8x8 stipple)
1.0     0.88    0.91    0.97    0.97    0.99    0.98    10x10 stippled rectangle (8x8 stipple)
1.0     1.00    1.00    1.02    1.01    1.01    1.06    100x100 stippled rectangle (8x8 stipple)
1.0     0.97    1.03    0.99    1.01    1.03    1.08    500x500 stippled rectangle (8x8 stipple)
1.0     0.93    0.96    1.00    0.91    0.99    0.99    1x1 opaque stippled rectangle (8x8 stipple)
1.0     0.96    0.99    1.00    0.98    0.98    0.99    10x10 opaque stippled rectangle (8x8 stipple)
1.0     1.00    1.00    1.00    1.00    1.00    1.00    100x100 opaque stippled rectangle (8x8 stipple)
1.0     1.01    1.00    1.00    1.00    1.00    1.00    500x500 opaque stippled rectangle (8x8 stipple)
1.0     1.04    1.05    1.04    1.01    1.01    1.05    1x1 tiled rectangle (4x4 tile)
1.0     1.02    1.01    1.00    1.01    0.98    1.01    10x10 tiled rectangle (4x4 tile)
1.0     1.00    1.01    0.99    1.00    0.97    1.01    100x100 tiled rectangle (4x4 tile)
1.0     1.01    1.01    0.99    1.00    0.94    1.00    500x500 tiled rectangle (4x4 tile)
1.0     0.96    0.96    1.00    0.90    0.99    1.00    1x1 stippled rectangle (17x15 stipple)
1.0     1.02    1.00    1.00    0.98    0.99    0.98    10x10 stippled rectangle (17x15 stipple)
1.0     0.93    0.99    1.04    1.01    1.01    0.96    100x100 stippled rectangle (17x15 stipple)
1.0     0.92    0.99    1.04    1.00    1.00    0.95    500x500 stippled rectangle (17x15 stipple)
1.0     0.94    0.96    1.01    0.90    0.99    0.99    1x1 opaque stippled rectangle (17x15 stipple)
1.0     1.00    0.99    1.00    0.99    1.00    0.99    10x10 opaque stippled rectangle (17x15 stipple)
1.0     1.00    1.00    1.00    1.00    1.00    1.00    100x100 opaque stippled rectangle (17x15 stipple)
1.0     1.00    1.00    1.00    1.00    1.00    1.00    500x500 opaque stippled rectangle (17x15 stipple)
1.0     1.05    1.06    1.04    1.01    1.02    1.05    1x1 tiled rectangle (17x15 tile)
1.0     1.03    1.04    1.02    1.01    1.00    1.03    10x10 tiled rectangle (17x15 tile)
1.0     1.00    1.00    1.00    1.00    1.00    1.00    100x100 tiled rectangle (17x15 tile)
1.0     1.00    1.00    1.00    1.00    1.00    1.00    500x500 tiled rectangle (17x15 tile)
1.0     0.95    0.98    0.95    0.90    0.99    0.99    1x1 stippled rectangle (161x145 stipple)
1.0     0.99    1.00    1.01    0.98    1.01    0.97    10x10 stippled rectangle (161x145 stipple)
1.0     0.96    0.97    1.01    0.99    1.02    0.97    100x100 stippled rectangle (161x145 stipple)
1.0     0.92    0.95    1.00    0.98    1.02    0.95    500x500 stippled rectangle (161x145 stipple)
1.0     0.96    0.98    1.00    0.90    1.00    0.98    1x1 opaque stippled rectangle (161x145 stipple)
1.0     0.99    1.00    0.98    0.98    0.99    0.99    10x10 opaque stippled rectangle (161x145 stipple)
1.0     1.02    0.99    0.99    1.00    0.98    0.99    100x100 opaque stippled rectangle (161x145 stipple)
1.0     1.01    0.98    1.00    1.00    0.96    0.99    500x500 opaque stippled rectangle (161x145 stipple)
1.0     1.04    1.04    1.04    0.99    1.01    1.05    1x1 tiled rectangle (161x145 tile)
1.0     1.04    1.06    1.04    1.01    1.01    1.06    10x10 tiled rectangle (161x145 tile)
1.0     1.00    1.00    1.00    1.00    1.00    1.01    100x100 tiled rectangle (161x145 tile)
1.0     0.99    1.00    1.00    1.00    1.00    1.00    500x500 tiled rectangle (161x145 tile)
1.0     1.05    1.06    1.05    1.01    1.02    1.06    1x1 tiled rectangle (216x208 tile)
1.0     1.05    1.06    1.05    1.01    1.01    1.05    10x10 tiled rectangle (216x208 tile)
1.0     1.00    1.00    1.00    1.00    1.00    1.00    100x100 tiled rectangle (216x208 tile)
1.0     1.00    1.00    1.00    0.99    1.00    1.00    500x500 tiled rectangle (216x208 tile)
1.0     0.89    1.00    0.98    0.96    0.98    0.90    1-pixel line segment
1.0     0.98    1.01    0.98    1.00    0.98    1.01    10-pixel line segment
1.0     0.99    1.00    1.00    1.00    1.00    1.00    100-pixel line segment
1.0     0.97    0.97    1.00    1.00    1.00    0.99    500-pixel line segment
1.0     0.99    1.00    0.99    1.00    0.99    1.00    100-pixel line segment (1 kid)
1.0     1.00    1.00    1.00    1.00    0.99    1.00    100-pixel line segment (2 kids)
1.0     0.99    1.00    0.99    1.00    0.99    1.00    100-pixel line segment (3 kids)
1.0     0.93    0.99    0.97    0.96    0.98    0.97    10-pixel dashed segment
1.0     1.00    1.00    1.00    1.00    0.99    1.00    100-pixel dashed segment
1.0     0.99    0.99    0.99    0.99    0.99    0.99    100-pixel double-dashed segment
1.0     0.96    1.00    0.99    0.98    1.01    1.00    10-pixel horizontal line segment
1.0     0.95    0.99    1.00    0.98    1.00    1.00    100-pixel horizontal line segment
1.0     0.99    1.00    1.00    1.00    1.00    1.00    500-pixel horizontal line segment
1.0     0.96    1.00    1.00    0.95    1.00    0.97    10-pixel vertical line segment
1.0     0.99    1.00    1.00    0.98    1.00    1.00    100-pixel vertical line segment
1.0     0.99    1.00    1.00    0.99    1.00    1.00    500-pixel vertical line segment
1.0     0.97    0.99    1.00    0.86    1.00    0.99    10x1 wide horizontal line segment
1.0     0.99    0.95    1.01    1.00    0.98    1.00    100x10 wide horizontal line segment
1.0     0.99    1.00    0.98    1.00    1.01    1.00    500x50 wide horizontal line segment
1.0     0.98    0.97    1.00    0.87    0.99    0.99    10x1 wide vertical line segment
1.0     0.98    0.95    1.00    0.99    0.98    1.00    100x10 wide vertical line segment
1.0     0.99    1.00    0.98    1.00    1.00    1.00    500x50 wide vertical line segment
1.0     1.01    0.97    1.00    0.99    1.00    1.01    1-pixel line
1.0     1.00    1.00    0.99    0.99    0.98    1.00    10-pixel line
1.0     1.00    0.99    1.00    1.00    0.99    1.00    100-pixel line
1.0     1.00    0.99    1.00    1.00    1.00    1.00    500-pixel line
1.0     0.91    0.98    0.97    0.94    0.99    0.96    10-pixel dashed line
1.0     0.99    0.99    0.99    0.99    0.99    0.99    100-pixel dashed line
1.0     1.00    0.99    0.99    1.00    1.00    1.00    100-pixel double-dashed line
1.0     1.00    1.00    1.01    1.00    1.00    1.01    10x1 wide line
1.0     0.99    1.00    1.00    0.98    1.00    1.00    100x10 wide line
1.0     0.99    0.99    0.99    1.00    0.98    1.00    500x50 wide line
1.0     0.99    1.01    1.00    0.99    1.01    0.99    100x10 wide dashed line
1.0     0.99    1.01    1.01    0.98    1.01    1.00    100x10 wide double-dashed line
1.0     0.73    1.01    1.02    0.94    1.02    1.01    10x10 rectangle outline
1.0     0.96    0.98    1.01    0.87    0.99    1.02    100x100 rectangle outline
1.0     1.00    1.00    0.99    0.94    0.99    0.99    500x500 rectangle outline
1.0     0.71    1.01    1.01    0.95    1.02    1.01    10x10 wide rectangle outline
1.0     0.92    0.99    1.00    0.87    1.00    1.01    100x100 wide rectangle outline
1.0     0.99    0.99    0.99    0.99    0.98    1.00    500x500 wide rectangle outline
1.0     0.98    0.98    1.01    0.99    1.01    1.03    1-pixel circle
1.0     1.01    1.03    1.01    1.02    1.02    1.01    10-pixel circle
1.0     1.01    0.99    1.01    1.01    0.99    1.01    100-pixel circle
1.0     1.00    1.00    1.00    1.00    1.00    1.00    500-pixel circle
1.0     0.99    0.99    0.99    1.00    1.00    1.00    100-pixel dashed circle
1.0     1.00    1.01    1.01    1.01    1.02    1.02    100-pixel double-dashed circle
1.0     0.99    0.99    0.96    1.00    0.99    0.95    10-pixel wide circle
1.0     0.99    1.00    1.00    1.01    1.00    1.00    100-pixel wide circle
1.0     1.00    1.00    1.00    1.00    1.00    1.00    500-pixel wide circle
1.0     0.98    0.99    0.99    0.80    0.85    0.99    100-pixel wide dashed circle
1.0     0.99    1.00    1.00    0.98    0.98    1.00    100-pixel wide double-dashed circle
1.0     0.97    0.97    1.00    1.01    1.00    1.00    10-pixel partial circle
1.0     1.01    1.00    1.01    1.01    1.01    1.01    100-pixel partial circle
1.0     0.98    0.97    0.98    0.95    0.98    0.98    10-pixel wide partial circle
1.0     0.99    1.00    1.01    0.99    0.99    1.00    100-pixel wide partial circle
1.0     0.91    1.00    0.98    0.87    0.95    0.97    1-pixel solid circle
1.0     1.01    0.99    1.02    1.02    1.02    1.02    10-pixel solid circle
1.0     0.99    0.94    0.95    1.00    0.95    1.00    100-pixel solid circle
1.0     1.00    1.00    1.01    1.01    1.00    1.01    500-pixel solid circle
1.0     0.99    1.03    1.04    1.03    1.04    1.04    10-pixel fill chord partial circle
1.0     0.98    0.99    0.97    1.00    0.97    0.99    100-pixel fill chord partial circle
1.0     0.97    1.02    1.02    0.99    1.02    1.02    10-pixel fill slice partial circle
1.0     0.98    0.99    0.98    1.00    0.98    1.00    100-pixel fill slice partial circle
1.0     0.97    1.01    0.99    0.99    1.01    1.00    10-pixel ellipse
1.0     0.99    1.00    1.00    1.00    0.99    1.00    100-pixel ellipse
1.0     1.00    0.99    1.00    1.00    0.99    0.99    500-pixel ellipse
1.0     0.99    1.01    0.99    1.00    1.02    1.00    100-pixel dashed ellipse
1.0     1.01    1.02    1.00    1.01    1.03    1.01    100-pixel double-dashed ellipse
1.0     0.99    0.99    0.96    1.00    0.99    0.98    10-pixel wide ellipse
1.0     0.99    0.97    1.00    1.01    1.00    1.00    100-pixel wide ellipse
1.0     1.00    1.00    1.01    1.01    1.00    1.01    500-pixel wide ellipse
1.0     0.99    0.99    0.99    0.99    0.98    1.00    100-pixel wide dashed ellipse
1.0     0.99    1.00    1.00    1.00    0.99    1.00    100-pixel wide double-dashed ellipse
1.0     1.02    1.02    1.05    1.05    1.03    1.05    10-pixel partial ellipse
1.0     1.00    0.99    1.02    1.01    1.01    1.01    100-pixel partial ellipse
1.0     0.98    0.97    0.97    0.95    0.98    1.00    10-pixel wide partial ellipse
1.0     0.99    1.00    1.00    1.00    0.99    1.01    100-pixel wide partial ellipse
1.0     1.00    0.99    1.02    1.01    1.01    1.02    10-pixel filled ellipse
1.0     0.98    0.97    0.97    1.01    0.97    1.00    100-pixel filled ellipse
1.0     1.03    1.04    1.03    1.04    1.04    1.04    500-pixel filled ellipse
1.0     0.97    1.03    1.02    1.02    1.03    1.02    10-pixel fill chord partial ellipse
1.0     0.98    0.98    0.98    1.00    0.98    1.00    100-pixel fill chord partial ellipse
1.0     0.97    1.01    1.02    1.00    1.02    1.01    10-pixel fill slice partial ellipse
1.0     0.98    0.99    0.98    1.00    0.98    1.00    100-pixel fill slice partial ellipse
1.0     0.99    1.03    1.01    0.98    1.01    1.01    Fill 1x1 equivalent triangle
1.0     1.01    1.01    1.01    1.01    1.02    1.02    Fill 10x10 equivalent triangle
1.0     0.99    0.99    0.99    1.01    0.99    0.99    Fill 100x100 equivalent triangle
1.0     0.99    1.02    1.00    0.98    0.99    0.99    Fill 1x1 trapezoid
1.0     1.00    1.00    1.00    1.01    1.00    1.01    Fill 10x10 trapezoid
1.0     0.99    0.99    1.00    1.01    0.96    0.97    Fill 100x100 trapezoid
1.0     1.00    1.04    1.04    0.98    1.04    1.03    Fill 300x300 trapezoid
1.0     0.99    1.00    0.98    0.94    0.99    0.93    Fill 1x1 stippled trapezoid (8x8 stipple)
1.0     0.88    0.98    1.00    0.98    1.03    0.96    Fill 10x10 stippled trapezoid (8x8 stipple)
1.0     0.78    0.98    0.99    0.97    0.96    0.94    Fill 100x100 stippled trapezoid (8x8 stipple)
1.0     0.74    0.98    0.98    0.96    1.00    0.94    Fill 300x300 stippled trapezoid (8x8 stipple)
1.0     0.97    0.99    0.97    0.94    0.99    0.91    Fill 1x1 opaque stippled trapezoid (8x8 stipple)
1.0     0.94    1.04    1.00    0.99    1.00    0.97    Fill 10x10 opaque stippled trapezoid (8x8 stipple)
1.0     0.92    1.01    0.99    1.00    0.99    1.00    Fill 100x100 opaque stippled trapezoid (8x8 stipple)
1.0     0.91    1.02    0.99    1.02    1.00    1.00    Fill 300x300 opaque stippled trapezoid (8x8 stipple)
1.0     0.95    1.02    0.97    0.94    0.98    0.90    Fill 1x1 tiled trapezoid (4x4 tile)
1.0     0.65    0.99    1.00    0.98    0.97    0.96    Fill 10x10 tiled trapezoid (4x4 tile)
1.0     0.48    1.01    1.01    1.00    1.00    1.00    Fill 100x100 tiled trapezoid (4x4 tile)
1.0     0.46    1.01    1.01    1.01    1.01    0.99    Fill 300x300 tiled trapezoid (4x4 tile)
1.0     0.99    0.99    0.97    0.95    0.98    0.92    Fill 1x1 stippled trapezoid (17x15 stipple)
1.0     0.95    1.00    1.00    0.99    1.00    0.98    Fill 10x10 stippled trapezoid (17x15 stipple)
1.0     0.99    1.01    0.99    1.00    0.95    0.97    Fill 100x100 stippled trapezoid (17x15 stipple)
1.0     1.01    1.00    0.99    1.00    0.97    0.97    Fill 300x300 stippled trapezoid (17x15 stipple)
1.0     0.98    0.98    0.97    0.94    0.99    0.91    Fill 1x1 opaque stippled trapezoid (17x15 stipple)
1.0     0.96    1.04    1.01    0.99    1.00    0.98    Fill 10x10 opaque stippled trapezoid (17x15 stipple)
1.0     0.94    1.01    0.98    0.99    0.98    0.98    Fill 100x100 opaque stippled trapezoid (17x15 stipple)
1.0     0.93    1.03    1.02    1.03    1.00    1.01    Fill 300x300 opaque stippled trapezoid (17x15 stipple)
1.0     0.96    1.01    0.97    0.94    0.98    0.92    Fill 1x1 tiled trapezoid (17x15 tile)
1.0     0.80    1.02    1.00    0.97    0.98    0.96    Fill 10x10 tiled trapezoid (17x15 tile)
1.0     0.61    0.99    0.97    0.99    0.96    0.96    Fill 100x100 tiled trapezoid (17x15 tile)
1.0     0.55    1.00    1.00    1.00    0.96    0.97    Fill 300x300 tiled trapezoid (17x15 tile)
1.0     0.98    0.99    0.98    0.94    0.98    0.92    Fill 1x1 stippled trapezoid (161x145 stipple)
1.0     0.95    1.00    1.00    0.99    0.99    0.98    Fill 10x10 stippled trapezoid (161x145 stipple)
1.0     0.94    0.98    0.99    0.99    0.97    0.98    Fill 100x100 stippled trapezoid (161x145 stipple)
1.0     0.95    0.97    0.99    0.99    1.00    0.96    Fill 300x300 stippled trapezoid (161x145 stipple)
1.0     0.98    0.98    0.97    0.93    1.00    0.91    Fill 1x1 opaque stippled trapezoid (161x145 stipple)
1.0     0.97    1.05    0.96    0.99    0.99    0.98    Fill 10x10 opaque stippled trapezoid (161x145 stipple)
1.0     0.97    0.99    1.00    1.00    0.96    1.00    Fill 100x100 opaque stippled trapezoid (161x145 stipple)
1.0     0.95    1.01    1.02    1.01    0.96    0.99    Fill 300x300 opaque stippled trapezoid (161x145 stipple)
1.0     0.95    1.02    0.98    0.94    0.97    0.92    Fill 1x1 tiled trapezoid (161x145 tile)
1.0     0.88    1.01    1.00    0.98    0.99    0.96    Fill 10x10 tiled trapezoid (161x145 tile)
1.0     0.75    1.00    1.00    1.00    0.98    1.00    Fill 100x100 tiled trapezoid (161x145 tile)
1.0     0.68    0.99    0.98    1.00    1.00    0.98    Fill 300x300 tiled trapezoid (161x145 tile)
1.0     0.95    1.02    0.98    0.94    0.98    0.90    Fill 1x1 tiled trapezoid (216x208 tile)
1.0     0.87    1.01    1.00    0.98    0.96    0.97    Fill 10x10 tiled trapezoid (216x208 tile)
1.0     0.76    1.00    1.00    1.00    0.99    1.00    Fill 100x100 tiled trapezoid (216x208 tile)
1.0     0.73    0.99    0.99    0.99    0.99    0.99    Fill 300x300 tiled trapezoid (216x208 tile)
1.0     0.98    0.99    1.00    0.99    1.00    0.99    Fill 1x1 aa trap
1.0     0.99    1.01    1.00    1.00    1.00    1.00    Fill 10x10 aa trap
1.0     0.96    1.00    1.00    0.98    1.00    1.00    Fill 100x100 aa trap
1.0     0.96    1.00    1.00    0.97    1.00    0.99    Fill 300x300 aa trap
1.0     0.78    1.00    1.00    1.00    0.99    1.00    Fill 1x1 aa trap with 4 bit alpha
1.0     0.95    1.01    1.01    1.00    1.00    1.00    Fill 10x10 aa trap with 4 bit alpha
1.0     0.95    1.01    1.00    0.97    0.99    0.99    Fill 100x100 aa trap with 4 bit alpha
1.0     0.96    1.00    1.00    0.97    1.00    0.99    Fill 300x300 aa trap with 4 bit alpha
1.0     0.97    1.01    1.01    1.00    1.00    1.02    Fill 1x1 aa trap with 1 bit alpha
1.0     0.97    1.01    1.01    1.01    0.99    1.02    Fill 10x10 aa trap with 1 bit alpha
1.0     0.98    1.01    0.99    1.00    1.03    0.97    Fill 100x100 aa trap with 1 bit alpha
1.0     0.97    1.05    1.01    0.99    1.05    1.01    Fill 300x300 aa trap with 1 bit alpha
1.0     0.99    1.00    1.00    0.97    0.97    1.00    Fill 2x1 aa trap
1.0     0.99    1.00    1.00    0.97    0.97    1.00    Fill 2x10 aa trap
1.0     1.00    1.00    1.00    0.98    0.98    0.99    Fill 2x100 aa trap
1.0     0.99    1.00    1.00    0.97    0.97    0.99    Fill 2x300 aa trap
1.0     1.05    1.00    1.00    0.89    1.05    0.99    Fill 1x1 aa trapezoid
1.0     1.00    0.98    0.98    0.89    1.01    0.97    Fill 10x10 aa trapezoid
1.0     0.97    1.02    1.01    1.01    1.00    1.01    Fill 100x100 aa trapezoid
1.0     0.95    1.00    1.00    0.99    0.98    1.00    Fill 300x300 aa trapezoid
1.0     0.90    1.05    0.99    0.94    0.97    1.06    Fill 1x1 aa pre-added trapezoid
1.0     0.81    1.02    1.01    0.36    0.94    1.04    Fill 10x10 aa pre-added trapezoid
1.0     0.77    1.02    1.01    0.71    0.91    1.02    Fill 100x100 aa pre-added trapezoid
1.0     0.68    1.02    1.01    0.84    0.91    1.00    Fill 300x300 aa pre-added trapezoid
1.0     0.99    1.02    1.02    1.00    1.03    1.03    Fill 10x10 equivalent complex polygon
1.0     0.99    1.04    1.04    1.01    1.04    1.04    Fill 100x100 equivalent complex polygons
1.0     1.00    1.02    1.02    1.01    1.01    1.02    Fill 10x10 64-gon (Convex)
1.0     0.99    1.00    0.96    1.00    0.99    1.00    Fill 100x100 64-gon (Convex)
1.0     1.03    1.03    1.03    1.03    1.03    1.05    Fill 10x10 64-gon (Complex)
1.0     1.01    1.02    1.03    1.01    1.02    1.02    Fill 100x100 64-gon (Complex)
1.0     1.01    1.02    0.99    0.98    0.98    0.97    Char in 80-char line (6x13)
1.0     1.04    1.01    0.99    0.99    0.91    1.01    Char in 70-char line (8x13)
1.0     1.06    1.01    1.01    0.99    0.99    1.01    Char in 60-char line (9x15)
1.0     1.00    1.00    0.99    0.99    0.98    0.99    Char16 in 40-char line (k14)
1.0     0.99    1.00    1.00    0.95    1.00    0.88    Char in 80-char line (TR 10)
1.0     0.99    1.00    0.95    0.95    0.98    0.99    Char in 30-char line (TR 24)
1.0     1.00    1.00    1.01    0.98    0.99    1.01    Char in 20/40/20 line (6x13, TR 10)
1.0     1.00    1.00    0.99    0.99    0.95    1.01    Char in 80-char image line (6x13)
1.0     0.98    1.00    0.99    1.00    0.98    1.02    Char in 70-char image line (8x13)
1.0     1.08    1.03    1.02    1.03    1.02    1.04    Char in 60-char image line (9x15)
1.0     1.00    1.00    0.99    0.99    0.98    0.99    Char16 in 40-char image line (k14)
1.0     1.03    1.03    1.01    1.01    1.01    1.03    Char in 80-char image line (TR 10)
1.0     1.00    1.01    1.00    0.99    0.99    1.00    Char in 30-char image line (TR 24)
1.0     2.24    2.32    2.05    2.04    2.33    2.05    Char in 80-char aa line (Charter 10)
1.0     2.37    2.47    2.30    2.22    2.39    2.28    Char in 30-char aa line (Charter 24)
1.0     1.08    1.11    1.00    0.96    1.10    1.01    Char in 80-char aa line (Courier 12)
1.0     2.05    2.34    2.08    2.02    2.34    2.11    Char in 80-char a line (Charter 10)
1.0     1.84    1.90    1.78    1.69    1.86    1.74    Char in 30-char a line (Charter 24)
1.0     1.08    1.12    1.02    0.96    1.10    0.98    Char in 80-char a line (Courier 12)
1.0     1.70    1.81    1.64    1.58    1.79    1.60    Char in 80-char rgb line (Charter 10)
1.0     1.85    1.89    1.79    1.71    1.85    1.76    Char in 30-char rgb line (Charter 24)
1.0     1.08    1.11    1.00    0.96    1.09    0.99    Char in 80-char rgb line (Courier 12)
1.0     0.49    0.47    0.47    0.39    0.49    0.49    Char in 80-char aa core line (Charter 10)
1.0     0.81    0.78    0.78    0.64    0.81    0.81    Char in 30-char aa core line (Charter 24)
1.0     1.01    0.98    0.99    0.81    1.02    1.01    Char in 80-char aa core line (Courier 12)
1.0     0.31    0.30    0.30    0.25    0.31    0.31    Char in 80-char a core line (Charter 10)
1.0     0.64    0.61    0.62    0.51    0.64    0.64    Char in 30-char a core line (Charter 24)
1.0     1.02    0.99    0.99    0.81    1.02    1.01    Char in 80-char a core line (Courier 12)
1.0     0.31    0.30    0.30    0.25    0.31    0.31    Char in 80-char rgb core line (Charter 10)
1.0     0.63    0.61    0.61    0.50    0.62    0.63    Char in 30-char rgb core line (Charter 24)
1.0     1.01    0.98    0.99    0.81    1.02    1.02    Char in 80-char rgb core line (Courier 12)
1.0     0.88    0.99    0.97    0.96    0.99    0.98    Scroll 10x10 pixels
1.0     0.99    0.99    0.98    0.98    0.99    0.99    Scroll 100x100 pixels
1.0     1.00    1.00    1.00    1.00    1.00    1.00    Scroll 500x500 pixels
1.0     0.98    1.00    0.93    0.97    0.95    1.00    Copy 10x10 from window to window
1.0     1.00    1.00    1.00    1.00    1.00    1.00    Copy 100x100 from window to window
1.0     1.00    1.00    1.00    1.00    1.00    1.00    Copy 500x500 from window to window
1.0     1.00    1.01    0.98    0.98    1.00    0.98    Copy 10x10 from pixmap to window
1.0     1.00    1.00    1.00    1.00    1.00    1.00    Copy 100x100 from pixmap to window
1.0     1.01    1.01    1.01    1.01    1.01    1.01    Copy 500x500 from pixmap to window
1.0     0.96    0.95    0.98    0.96    0.98    0.93    Copy 10x10 from window to pixmap
1.0     1.00    1.02    1.01    0.98    1.01    1.00    Copy 100x100 from window to pixmap
1.0     0.99    0.98    1.01    1.01    1.01    0.99    Copy 500x500 from window to pixmap
1.0     0.97    0.98    1.00    0.99    0.99    1.00    Copy 10x10 from pixmap to pixmap
1.0     1.00    1.03    1.03    1.02    1.03    0.99    Copy 100x100 from pixmap to pixmap
1.0     1.00    1.00    1.00    1.00    1.00    1.00    Copy 500x500 from pixmap to pixmap
1.0     0.99    0.99    0.97    0.96    0.98    0.98    Copy 10x10 1-bit deep plane
1.0     0.99    0.99    0.99    1.00    0.95    0.96    Copy 100x100 1-bit deep plane
1.0     0.97    0.99    0.99    0.99    0.93    0.98    Copy 500x500 1-bit deep plane
1.0     0.94    0.98    0.98    0.93    0.98    0.83    Copy 10x10 n-bit deep plane
1.0     1.00    1.00    1.00    1.00    1.04    0.89    Copy 100x100 n-bit deep plane
1.0     1.00    1.00    1.00    1.00    1.06    0.87    Copy 500x500 n-bit deep plane
1.0     0.91    0.93    0.93    0.93    0.94    0.92    PutImage 10x10 square
1.0     0.94    0.98    0.97    0.96    0.96    0.99    PutImage 100x100 square
1.0     0.88    0.99    0.91    0.78    0.76    0.99    PutImage 500x500 square
1.0     0.97    1.00    1.00    1.00    0.98    1.00    PutImage XY 10x10 square
1.0     0.92    1.00    1.00    1.00    0.94    1.00    PutImage XY 100x100 square
1.0     0.89    1.00    1.00    1.00    0.89    1.00    PutImage XY 500x500 square
1.0     1.02    1.03    1.01    1.00    1.06    0.99    ShmPutImage 10x10 square
1.0     0.94    1.01    0.98    0.96    0.97    1.00    ShmPutImage 100x100 square
1.0     0.95    1.00    0.98    0.92    0.81    1.00    ShmPutImage 500x500 square
1.0     0.95    1.01    0.99    0.98    1.01    0.98    ShmPutImage XY 10x10 square
1.0     0.83    1.00    1.00    1.00    0.89    1.00    ShmPutImage XY 100x100 square
1.0     0.81    1.00    1.00    1.00    0.84    1.00    ShmPutImage XY 500x500 square
1.0     0.56    1.00    0.99    0.98    0.99    0.99    GetImage 10x10 square
1.0     0.098   0.98    0.99    0.98    0.99    0.99    GetImage 100x100 square
1.0     0.068   0.97    0.96    0.87    0.87    1.00    GetImage 500x500 square
1.0     0.96    1.00    1.00    0.99    1.00    0.91    GetImage XY 10x10 square
1.0     1.00    1.00    1.00    1.00    1.05    0.91    GetImage XY 100x100 square
1.0     1.00    1.00    1.00    1.00    1.08    0.92    GetImage XY 500x500 square
1.0     0.93    0.92    0.93    0.84    0.93    0.92    Composite 10x10 from window to window
1.0     1.00    1.00    0.99    1.00    1.00    1.00    Composite 100x100 from window to window
1.0     1.00    1.00    1.00    1.00    1.00    1.00    Composite 500x500 from window to window
1.0     0.97    1.01    0.99    0.98    1.01    1.00    Composite 10x10 from pixmap to window
1.0     1.00    0.99    1.00    0.98    1.00    1.00    Composite 100x100 from pixmap to window
1.0     1.00    1.00    1.00    1.00    1.00    1.00    Composite 500x500 from pixmap to window
1.0     1.00    1.01    0.99    0.97    0.99    1.01    X protocol NoOperation
1.0     1.01    1.00    0.95    0.91    0.94    0.98    QueryPointer
1.0     1.00    1.00    0.98    0.96    0.98    0.97    GetProperty
1.0     1.02    1.02    1.00    0.94    1.01    0.99    Change graphics context
1.0     0.99    1.00    0.98    0.86    0.95    0.98    Create and map subwindows (4 kids)
1.0     0.98    1.01    1.01    0.91    0.99    0.98    Create and map subwindows (16 kids)
1.0     0.97    1.01    0.99    0.90    0.98    0.99    Create and map subwindows (25 kids)
1.0     0.96    1.00    0.99    0.90    0.97    1.00    Create and map subwindows (50 kids)
1.0     0.95    0.99    0.99    0.89    0.96    0.98    Create and map subwindows (75 kids)
1.0     0.96    1.00    0.96    0.89    0.94    0.000   Create and map subwindows (100 kids)
1.0     0.95    0.99    0.98    0.91    0.93    0.000   Create and map subwindows (200 kids)
1.0     1.00    1.00    0.98    0.95    1.00    0.000   Create unmapped window (4 kids)
1.0     0.95    1.00    0.98    0.92    0.95    0.000   Create unmapped window (16 kids)
1.0     0.94    1.00    0.94    0.89    0.91    0.000   Create unmapped window (25 kids)
1.0     0.93    0.99    0.97    0.87    0.91    0.000   Create unmapped window (50 kids)
1.0     0.93    0.99    0.98    0.87    0.92    0.000   Create unmapped window (75 kids)
1.0     0.92    0.99    0.98    0.87    0.91    0.000   Create unmapped window (100 kids)
1.0     0.92    1.00    0.97    0.86    0.92    0.000   Create unmapped window (200 kids)
1.0     1.01    0.99    0.93    0.95    1.01    0.000   Map window via parent (4 kids)
1.0     1.01    0.99    0.98    0.93    1.00    0.000   Map window via parent (16 kids)
1.0     1.01    0.99    0.98    0.93    1.00    0.000   Map window via parent (25 kids)



1.0     1.00    0.98    0.97    0.92    1.00    0.000   Map window via parent (50 kids)
1.0     1.02    0.99    1.03    0.94    1.03    0.000   Map window via parent (75 kids)
1.0     0.98    0.99    0.98    0.92    1.00    0.000   Map window via parent (100 kids)
1.0     0.98    0.99    0.99    0.91    1.00    0.000   Map window via parent (200 kids)
1.0     1.00    1.01    0.97    0.97    1.01    0.000   Unmap window via parent (4 kids)
1.0     1.01    1.00    0.98    0.97    0.92    0.000   Unmap window via parent (16 kids)
1.0     1.01    1.01    0.98    0.98    1.01    0.000   Unmap window via parent (25 kids)
1.0     1.00    1.01    1.00    0.98    0.99    0.000   Unmap window via parent (50 kids)
1.0     1.02    1.02    1.00    1.00    1.02    0.000   Unmap window via parent (75 kids)
1.0     1.12    1.12    1.09    1.10    1.11    0.000   Unmap window via parent (100 kids)
1.0     1.02    1.02    0.98    1.01    1.02    0.000   Unmap window via parent (200 kids)
1.0     0.99    1.01    0.96    0.95    0.99    0.000   Destroy window via parent (4 kids)
1.0     1.02    1.02    1.00    0.94    1.01    0.000   Destroy window via parent (16 kids)
1.0     1.03    1.02    1.00    0.93    1.01    0.000   Destroy window via parent (25 kids)
1.0     1.04    1.03    0.98    0.86    1.01    0.000   Destroy window via parent (50 kids)
1.0     1.05    1.02    1.02    0.91    1.00    0.000   Destroy window via parent (75 kids)
1.0     1.05    1.03    1.03    0.89    1.01    0.000   Destroy window via parent (100 kids)
1.0     1.09    1.06    1.01    0.92    1.03    0.000   Destroy window via parent (200 kids)
1.0     1.02    1.01    0.97    0.91    0.95    0.000   Hide/expose window via popup (4 kids)
1.0     1.01    0.94    0.99    0.87    0.99    0.000   Hide/expose window via popup (16 kids)
1.0     0.99    0.99    0.99    0.88    0.98    0.000   Hide/expose window via popup (25 kids)
1.0     1.00    0.99    0.95    0.88    1.00    0.000   Hide/expose window via popup (50 kids)
1.0     1.03    1.03    1.03    0.91    1.04    0.000   Hide/expose window via popup (75 kids)
1.0     0.99    1.00    0.98    0.87    1.00    0.000   Hide/expose window via popup (100 kids)
1.0     0.98    0.99    0.99    0.88    1.00    0.000   Hide/expose window via popup (200 kids)
1.0     0.98    0.95    0.96    0.89    0.96    0.000   Move window (4 kids)
1.0     0.94    0.93    0.97    0.89    0.95    0.000   Move window (16 kids)
1.0     0.91    0.94    0.97    0.89    0.96    0.000   Move window (25 kids)
1.0     0.85    0.95    0.95    0.89    0.96    0.000   Move window (50 kids)
1.0     0.84    0.96    0.97    0.91    0.98    0.000   Move window (75 kids)
1.0     0.81    0.97    0.96    0.91    0.97    0.000   Move window (100 kids)
1.0     0.79    0.95    0.96    0.93    0.98    0.000   Move window (200 kids)
1.0     1.01    1.02    0.99    0.90    1.01    0.000   Moved unmapped window (4 kids)
1.0     0.97    0.99    0.97    0.98    0.99    0.000   Moved unmapped window (16 kids)
1.0     0.96    0.94    0.96    0.98    0.99    0.000   Moved unmapped window (25 kids)
1.0     0.98    1.02    0.99    1.01    1.02    0.000   Moved unmapped window (50 kids)
1.0     0.96    1.01    0.96    0.99    0.98    0.000   Moved unmapped window (75 kids)
1.0     0.94    1.01    0.97    0.99    1.00    0.000   Moved unmapped window (100 kids)
1.0     0.95    1.00    0.95    0.98    1.00    0.000   Moved unmapped window (200 kids)
1.0     0.99    0.98    0.98    0.93    0.98    0.000   Move window via parent (4 kids)
1.0     1.02    1.01    0.99    0.94    1.01    0.000   Move window via parent (16 kids)
1.0     1.00    0.99    0.94    0.93    0.99    0.000   Move window via parent (25 kids)
1.0     1.00    0.98    0.99    0.96    1.00    0.000   Move window via parent (50 kids)
1.0     1.00    0.99    0.99    0.96    1.00    0.000   Move window via parent (75 kids)
1.0     1.00    1.00    0.99    0.97    0.99    0.000   Move window via parent (100 kids)
1.0     1.00    1.00    1.00    0.81    1.01    0.000   Move window via parent (200 kids)
1.0     0.99    0.98    0.99    0.90    0.97    0.000   Resize window (4 kids)
1.0     0.94    0.95    0.98    0.87    0.97    0.000   Resize window (16 kids)
1.0     0.95    0.98    0.99    0.88    0.99    0.000   Resize window (25 kids)
1.0     0.87    0.94    0.96    0.88    0.96    0.000   Resize window (50 kids)
1.0     0.86    0.97    0.99    0.90    1.00    0.000   Resize window (75 kids)
1.0     0.84    0.95    0.98    0.90    0.98    0.000   Resize window (100 kids)
1.0     0.81    0.95    0.98    0.93    0.99    0.000   Resize window (200 kids)
1.0     1.00    1.01    0.98    0.97    0.99    0.000   Resize unmapped window (4 kids)
1.0     0.98    1.00    0.92    0.98    0.91    0.000   Resize unmapped window (16 kids)
1.0     0.96    1.00    0.96    0.98    0.96    0.000   Resize unmapped window (25 kids)
1.0     0.96    0.99    0.96    0.98    0.95    0.000   Resize unmapped window (50 kids)
1.0     0.96    0.99    0.96    0.97    0.96    0.000   Resize unmapped window (75 kids)
1.0     0.96    0.94    0.97    0.98    0.95    0.000   Resize unmapped window (100 kids)
1.0     0.96    1.01    0.97    0.99    0.96    0.000   Resize unmapped window (200 kids)
1.0     1.02    0.98    1.03    0.90    1.02    0.000   Circulate window (4 kids)
1.0     0.98    1.01    1.02    0.87    1.00    0.000   Circulate window (16 kids)
1.0     0.99    1.00    1.02    0.87    1.02    0.000   Circulate window (25 kids)
1.0     0.98    1.00    1.02    0.87    1.01    0.000   Circulate window (50 kids)
1.0     0.98    1.00    1.02    0.87    1.01    0.000   Circulate window (75 kids)
1.0     0.97    0.99    1.02    0.86    1.01    0.000   Circulate window (100 kids)
1.0     0.99    1.01    1.01    0.89    1.01    0.000   Circulate window (200 kids)
1.0     1.04    0.81    1.01    1.02    0.97    0.000   Circulate Unmapped window (4 kids)
1.0     1.01    0.83    0.98    0.98    1.00    0.000   Circulate Unmapped window (16 kids)
1.0     0.99    1.00    0.96    0.96    1.00    0.000   Circulate Unmapped window (25 kids)
1.0     1.01    1.01    0.97    0.97    1.00    0.000   Circulate Unmapped window (50 kids)
1.0     1.01    1.01    0.97    0.97    0.99    0.000   Circulate Unmapped window (75 kids)
1.0     1.00    1.01    0.97    0.98    1.00    0.000   Circulate Unmapped window (100 kids)
1.0     1.00    0.94    0.94    0.93    0.95    0.000   Circulate Unmapped window (200 kids)

Summary:
1.00    1.01    0.97    1.01    1.00    0.97    1.00    0.77

I'll try to do a bit more rigorous testing with sane versions of gcc and glibc a bit later. Let me know if there are any tests you want done. I am planning on doing a few permutations of gcc options and and run pybench.

Does anybody know how I could write a script that would start xorg server, run x11perf and shut down the server once x11perf is done?
Last edited by no_hope on Mon Jun 30, 2008 2:19 pm, edited 5 times in total.
Top
Akkara
Bodhisattva
Bodhisattva
User avatar
Posts: 6702
Joined: Tue Mar 28, 2006 12:27 pm
Location: &akkara

  • Quote

Post by Akkara » Mon Jun 30, 2008 6:28 am

Interesting!

But I don't know how to read the numbers. Is it time to benchmark divided by time for the reference?
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Mon Jun 30, 2008 12:08 pm

mmm needs a summary
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
Post Reply

3 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic