J
JC
Grr. Sorry Jason. I'm web-browser challenged this afternoon, which
may have to do with just finishing lunch over some really good beer
with a bunch of geek friends of mine to discuss things like 42, and
other topics that friends are working on. Instead of posting the full
message I meant to, I posted the first half twice! No, it wasn't
me... it was Google! Really! (Bill slinks into cave for a while)
No problem, thanks for the instructions, will check it out this
evening. Just blame it on your news server or something.
Jason
After doing "make" in the examples/graph_benchmark directory, you can
run c_graph (the DataDraw backed benchmark) and compare it to
rawc_graph (the raw C benchmark). The output:
[graph_benchmark] time ./rawc_graph
real 0m57.412s
user 0m56.664s
sys 0m0.700s
[graph_benchmark] time c_graph
Process completed in 0:00:08
Used 972.37 MB of memory
real 0m8.617s
user 0m7.832s
sys 0m0.768s
[graph_benchmark]
This isn't the worst benchmark for DataDraw. It's one of the best.
However, I've done extensive testing for years on memory intensive
applications, and can confidently state that you can expect a 20%
speed improvement or better on almost any memory intensive algorithm.
It's not 7X in general, but still faster than C.
Bill