ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Project Euler Problem 14 Memory Problem

Solved!
Go to solution

Processor: Intel i7-4790 @3.60GHz

 

20M: 1.25s

100M: 6.4s

 

Spoiler for how to improve speed with benchmarks for those.

 

 

Spoiler
Disabling debugging gets you to around 1.17s and 6.1s.

 

Matt J | National Instruments | CLA
Message 21 of 23
(818 Views)

@Jacobson-ni wrote:

 

Spoiler for how to improve speed with benchmarks for those.


Thanks!

 

That is only for the toplevel. I did not see a difference once I do a "run continuously" and not look at the first result. In fact with debugging it was often faster which makes no sense, but made me intentionally not turn it off. I very rarely disable debugging in the toplevel VI, just for the convenience of easy debugging of the code. 😄

0 Kudos
Message 22 of 23
(815 Views)

Yes, debugging makes a difference (I7-5600U CPU @ 2.60GHz)

 

20M: 948ms

100M: 4.84s

 

(The debugging made less to no difference in earlier code, and I think I know why)

0 Kudos
Message 23 of 23
(810 Views)