[ruby-core:67045] Re: [ruby-trunk - misc #10628] [Open] Peformance of URI module

From: Eric Wong <normalperson@...>
Date: 2014-12-22 22:02:49 UTC
List: ruby-core #67045
tgx_world: Please don't use screenshots when a few words explaining the
situation will do.  Not everyone can view pics: lack of working GUI,
poor eyesight or danger of opening inappropriate images in public areas.

Fortunately, I was able to open the link to see the issue was with
the bm_app_uri benchmark being slower.

I tried some optimizations, but it's still slower than 2.1.5 on my
Haswell E3-1230 v3 server:

  http://80x24.org/spew/m/ugly-uri-optimizations@r48922.txt

Unfortunately, these make evaluating effects of any future compile.c
optimizations more difficult.

benchmark results:
minimum results in each 10 measurements.
Execution time (sec)
name	2.1.5	trunk	built
app_uri	0.484	0.584	0.500

Speedup ratio: compare with the result of `2.1.5' (greater is better)
name	trunk	built
app_uri	0.829	0.968

naruse: any thoughts?

In This Thread

Prev Next