* a benchmark
@ 2014-05-06 12:03 arisawa
0 siblings, 0 replies; only message in thread
From: arisawa @ 2014-05-06 12:03 UTC (permalink / raw)
To: 9front
Hello,
a tiny benchmark.
int k;
vlong i,n;
char *p;
n = 1*1024*1024*1024;
p = malloc(n);
for(k=0; k < 10; k++){
for(i = 0; i<n; i++)
p[i] = k;
print("%d\n",k);
}
8.out on hebe
term% time 8.out
0
...
9
30.04u 0.33s 30.42r 8.out
6.out on hebe
term% time 6.out
0
...
9
3.87u 0.34s 4.23r 6.out
nice result!
Kenji Arisawa
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-06 12:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-06 12:03 a benchmark arisawa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).