-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/20/10 6:08 PM, Marc Weber wrote: > > PHP: 2.7 total > > urweb (http): > > benchmark PHP (run by apache) (5.3): > ab -n 100 -c1 http://l/pg_speed.php 0.01s user 0.03s system 3% cpu 1.242 > total > > benchmark ur (http): > ab -n 100 -c1 http://l:8090/St/list 0.01s user 0.02s system 1% cpu 2.147 > total > > benchmark ur (fastcgi): > ab -n 100 -c1 http://l/fcgid/pg_fcgi.fcgi/St/list 0.01s user 0.02s > system 1% cpu 2.522 total > > -c1 means no threading. > data: 1000 rows > > > I know that that simple loop is a very bad benchmark. > Yet it surprises me that PHP is significantly faster than urweb.
I'm not sure how one is meant to interpret these results, exactly, but I'm not convinced that PHP _is_ faster according to the benchmark you've posted there. The 'user' and 'system' values are smaller for the Ur implementations. What is the final 'total' column meant to mean? I thought the output from 'ab' indicated how many requests you can serve per second in total, and hence a larger number in the final column would be better? - --Gian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJNDv6KAAoJEDd5xfOXfbYMjhkH/0H2Hp9N3B0yv7jezY7LFfhQ i7SHxIUGY7tw4H+N+1nN6rvz23sZ24OZBNNcuiFglZetYb6j3Ru0eK9MvE5xg1QZ h05ESJ8+fpXZfGQ5kKu7YAzLZwPxjwuWCMF9dhSIQ0uECmSdzQz1bzPo/zQ/Xmzc OuQMYU11IvZY3hSTQAyVdu4xvkmfAoq46AAZtj5JsA2Ek3xYtT/N6PWWQpmdQADf uybynOYmxZbFlTbmgIa2nrZKUky0zAGcSPDriIaz01YHTjRpyVDdcu35xFVsqLo2 QkdRsRnvMXLTnjz/KaxrNsKkUi0WfJyI6Ak20UC1zOj0P7msh3CM1eBq1feS0cA= =Nf1S -----END PGP SIGNATURE----- _______________________________________________ Ur mailing list Ur@impredicative.com http://www.impredicative.com/cgi-bin/mailman/listinfo/ur