[parrot/parrot] e8a0ab: [GH #837] Add benchmark to test encoding slowdown
GitHub
noreply at github.com
Thu Sep 20 18:30:57 UTC 2012
Branch: refs/heads/gh837_concat
Home: https://github.com/parrot/parrot
Commit: e8a0ab4483a793388f4bfdfee3d81b4ce3b80c9d
https://github.com/parrot/parrot/commit/e8a0ab4483a793388f4bfdfee3d81b4ce3b80c9d
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-20 (Thu, 20 Sep 2012)
Changed paths:
A examples/benchmarks/stress_stringsu.pir
Log Message:
-----------
[GH #837] Add benchmark to test encoding slowdown
stress_stringsu.pir tests encoding via sprintf and concat.
The fixed version is only a bit slower then the old broken version.
13.666s (broken) vs 13.506s (fixed) vs 3.022s (without encoding).
So fixing the encoding representation as STRING* in SREG and consts 'U'
is a worthwile goal.
More information about the parrot-commits
mailing list