[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua/LuaJIT2 performance on Android
- From: Josh Haberman <jhaberman@...>
- Date: Mon, 18 Apr 2011 23:57:20 +0000 (UTC)
Mike Pall <mikelu-1104 <at> mike.de> writes:
> Oh, well. Floating-point benchmarks are not a good way to compare
> soft-float VMs. Maybe try again with fannkuch or nsieve.
Here's nsieve:
$ time lua nsieve.lua 7
Primes up to 1280000 98610
Primes up to 640000 52074
Primes up to 320000 27608
real 0m6.489s
user 0m6.230s
sys 0m0.190s
$ time ./src/luajit nsieve.lua 7
Primes up to 1280000 98610
Primes up to 640000 52074
Primes up to 320000 27608
real 0m2.102s
user 0m2.040s
sys 0m0.060s
$ uname -a
Linux sentry 2.6.31.14.20-efikamx #2 PREEMPT Mon Feb 28 21:18:36 CST 2011 armv7l
GNU/Linux
$ cat /proc/cpuinfo
Processor : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 799.53
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc08
CPU revision : 5
Hardware : Genesi Efika MX (Smarttop)
Revision : 51030
Serial : 0000000000000000
3x, not bad. :)
Josh