gcc gcc version 4.4.5 (Debian 4.4.5-8
fasm version 1.70 for forth interpreter & cgi example posted above
tcc 0.9.25 Fabrice Bellard's TinyC compiler - linked to glibc (vs libtcc)
flow-forth 0.2.1 (custom forth interpreter in assembly)
Browser: Firefox 12.0 Linux + firebug 1.9.1
Times were observed from the firebug "net" panel
forth: 5ms to 10ms, average 6ms
libc,tcc,interp: 13ms to 23ms, average 13ms
libc, tcc,compiled: 5ms to 10ms, average 5ms
libc, gcc,compiled: - 4ms to 15ms, average 6ms
same, with -O2 - 5ms to 6ms, average 5ms
same, with -O3 - 5ms to 23ms, varied wildy
same, with -O4 - 5ms to 7ms,average 5ms
asm binary - 4ms to 5ms, average 4ms
With no other tabs & programs running on the client,
and no unnecessary processes running on server,
I'd expect to see more consistent results.
Joined: 16 Jun 2003
Every time I have to make some web sites in PHP or Perl, I dream to be able to make it in assembly. Unfortunately, the most hosting providers forbid using plain executables and allow only interpreted languages, such as Perl and PHP...
But one day (when I grow up) I will purchase some hosting allowing assembly CGI scripts and will write CMS in plain assembly.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum