octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Performance improvement after symbol table changes


From: John W. Eaton
Subject: Re: Performance improvement after symbol table changes
Date: Mon, 4 Feb 2019 14:14:24 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 2/4/19 12:13 AM, Rik wrote:

This isn't a real benchmark, but I have been using it periodically back to
version 3.2.

a = 1; b = 1; tic; for i=1:1000; for j=1:1000; a = a + b + 1.0; end; end; toc

On my machine, the RC1 candidate clocks in at 1.57 seconds.

The development branch clocks in at 1.2 seconds.

That is a 23.5% drop in run time.

Nice work,

Thanks. My simple tests also indicate that performance is similarly improved for code that uses recursion and function handles.

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]