Re: [Vala] GObject allocation / referencing... Why is so slow?



Il giorno mar, 18/01/2011 alle 13.12 +0100, Fabian Deutsch ha scritto:
Hello,

could you run the benchmark with the following parameters which enable
some compiletime optimizations?

$ valac bench.vala --save-temps -v --Xcc="-O3"
--Xcc="-DG_DISABLE_CHECKS" --Xcc="-DG_DISABLE_ASSERT"
--Xcc="-DG_DISABLE_CAST_CHECKS" --Xcc="-march=native"

I already was using some optimization flags, however using yours, my
results are:

                        |     N       |  Vala-Gobject  |
                        |-------------+----------------|
                        |   5000000   |     2.321s     |
                        |-------------+----------------|
                        |   50000000  |     22.255s    |
                        |-------------+----------------|
                        |  100000000  |     44.799s    |
                        |------------------------------|

So just few improvements... :(





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]