wiki:League/Performance

Version 4 (modified by vadim.godunko, 12 years ago) ( diff )

--

Performance comparison

Here is comparison of performance between Ada.Strings.Wide_Unbounded and League.Strings packages. Number is a speedup of operations on Universal_String comparing to corresponding operation on Unbounded_Wide_String.

Operation GNAT GPL 2009/League GNAT Pro 6.3/League GNAT Pro 6.3/League
(portable, 64 bits) (portable, 64 bits) (x86_64)
(1/10/100/1000/10000 bytes) (1/10/100/1000/10000 bytes) (1/10/100/1000/10000 bytes)
Object initialization 1.95 1.70 1.59
Assignment of empty string 2.69 1.62 1.47
Assignment of non-empty string 2.58 0.97 0.96
Compare for equality 4.71/6.44/9.39/11.59/11.75 4.56/6.59/9.43/11.77/11.74 4.20/5.97/12.20/15.69/14.42
Compare for less 1.35/1.32/1.62/1.95/1.99 1.17/1.10/1.49/1.49/1.48 0.90/1.17/2.06/2.94/2.70
Append of string 1.29 1.27 1.25
Note: See TracWiki for help on using the wiki.