Re: [Vala] Text-processing performance test : Vala vs Go



Why there are different results in this comparison?

On Tue, Jun 7, 2011 at 9:48 PM, Serge Hulne <serge hulne gmail com> wrote:

The test consisted in determining the words with the highest occurrence
frequency in Shakespeare' s complete work.

Here is the result:

The resp. codes are attached herewith.

IMHO there isn't a significant difference.

Serge.



1) Vala :
----------

localhost$:test_1 serge2$ time ./vwc ../../shakespeare.txt
(78160,     'the')
(60630,     'I')
(60120,     'and')
(52830,     'of')
(51300,     'to')
(43660,     'you')
(40500,     'a')
(30960,     'in')
(28100,     'my')
(26860,     'is')
(24440,     'that')

real    0m1.756s
user    0m1.698s
sys    0m0.042s


2 ) Go:
----------
localhost$:test_1 serge2$ time ./go_test
(77850,the)
(58730,and)
(54400,I)
(52150,of)
(48750,to)
(39590,a)
(34340,you)
(29510,in)
(28010,my)
(25150,is)

real    0m3.708s
user    0m3.640s
sys    0m0.041s

_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list




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