[erlang-questions] Erlang doesn't suck

Joel Reymont <>
Wed Oct 1 20:53:29 CEST 2008


On Oct 1, 2008, at 5:42 PM, Paul Fisher wrote:

> Which begs the question of whether you compile to native or not for  
> your benchmarking?  Not everything benefits, but we have some  
> modules that show significant gains from:
>
> -compile([native, {hipe,[o3]}, inline]).


There's certainly an increase in throughput (request per second) with  
hipe, even under 32 bits.

Is there a way to mass-hipe-compile all of OTP?

Simulating gameplay with 3000 games...
Waiting for games to end...
...
=INFO REPORT==== 1-Oct-2008::18:15:35 ===
     requests: 40041
     bytes: 736492
     requests_per_second: 1334
     bytes_per_second: 24549
50 games finished
...
1250 games finished
...
=INFO REPORT==== 1-Oct-2008::18:16:06 ===
     requests: 48419
     bytes: 543775
     requests_per_second: 1611
     bytes_per_second: 18100
...
3000 games finished

=INFO REPORT==== 1-Oct-2008::18:16:35 ===
     requests: 39604
     bytes: 345976
     requests_per_second: 1319
     bytes_per_second: 11529

Elapsed: 62.517129s, Average run time: 0.020839043 seconds

Now I have to try to compile R12B4 in 64-bit mode....


--
wagerlabs.com








More information about the erlang-questions mailing list