Skip to content
tmolteno edited this page Oct 21, 2014 · 14 revisions

Necpp has a built-in benchmark that runs a standard simulation. To test its speed use

  nec2++ -b

Results

Processor necpp version (nec2++ -v) Score
AMD Phenom(tm) II X4 925 1.5.0 [2010-10-02] compiler: 4.4.5 6.0397
AMD Phenom(tm) II X4 925 1.5.0 [2010-10-02] compiler: 4.6.3 6.1296
AMD Phenom(tm) II X6 1090T 1.5.1 [2012-03-29] compiler: 4.6.3 6.7502
Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz 1.5.1 [2012-04-05] 9.6022
Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz 1.5.3 [2014-10-22] 9.97151

Compiler Optimizations

By default, necpp uses -O2 as the compiler optimization setting. This can be overriden during compilation

  ./configure CPPFLAGS="-O3"

On most systems we've seen, -O3 produces slower code.

Clone this wiki locally