[Seaside] Pharo 1.1.1 and Cog?

Sven Van Caekenberghe sven at beta9.be
Tue Oct 12 15:16:50 UTC 2010


Levente,

On 12 Oct 2010, at 15:42, Levente Uzonyi wrote:

> That's really interesting. Our benchmark showed almost no speedup at all for Kom + Seaside3 with Cog. What was your benchmark like?

Using the latest Seaside 3 nightly build (from http://hudson.lukas-renggli.ch/), using MC to get my DWBench benchmark (essentially a dynamically generated 25 by 25 products table of about 8Kb) from the ADayAtTheBeach project on SqueakSource, I get the following results:

Old VM (Squeak 4.2.5beta1U on MacOSX)

[sven at voyager:~]$ ab -d -n 64 -c 4 http://127.0.0.1:8080/DW-Bench
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 127.0.0.1 (be patient).....done


Server Software:        KomHttpServer/7.1.3
Server Hostname:        127.0.0.1
Server Port:            8080

Document Path:          /DW-Bench
Document Length:        8899 bytes

Concurrency Level:      4
Time taken for tests:   0.912 seconds
Complete requests:      64
Failed requests:        0
Write errors:           0
Total transferred:      580736 bytes
HTML transferred:       569536 bytes
Requests per second:    70.14 [#/sec] (mean)
Time per request:       57.030 [ms] (mean)
Time per request:       14.257 [ms] (mean, across all concurrent requests)
Transfer rate:          621.53 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   1.3      0      10
Processing:    15   56  15.3     55     109
Waiting:       15   55  15.3     55     109
Total:         15   56  15.3     55     109

New VM (Squeak 5.8b12 on MacOSX)

[sven at voyager:~]$ ab -d -n 64 -c 4 http://127.0.0.1:8080/DW-Bench
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 127.0.0.1 (be patient).....done


Server Software:        KomHttpServer/7.1.3
Server Hostname:        127.0.0.1
Server Port:            8080

Document Path:          /DW-Bench
Document Length:        8899 bytes

Concurrency Level:      4
Time taken for tests:   0.301 seconds
Complete requests:      64
Failed requests:        0
Write errors:           0
Total transferred:      580736 bytes
HTML transferred:       569536 bytes
Requests per second:    212.74 [#/sec] (mean)
Time per request:       18.802 [ms] (mean)
Time per request:       4.701 [ms] (mean, across all concurrent requests)
Transfer rate:          1885.14 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.1      0       1
Processing:     4   18   2.6     19      21
Waiting:        4   18   2.6     19      21
Total:          4   18   2.6     19      21


Now, this is actually a (concurrent) session creation benchmark if you think about it. ab and almost all other benchmark tools have a really hard time to track seaside sessions. But the request handling is real, as is the actual speedup.

Sven



 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20101012/219ae2d5/attachment-0001.htm


More information about the seaside mailing list