I just ran across test/performance and components/utils/performance.
This
http://localhost:8080/legals/test/performance/adding-elements-to- array.lzx?debug=true

gives

empty                         :     0.87us ±    0.02 [0.84..0.95]/100
Array.push                    :     3.89us ±    1.39 [3.66..17.63]/100
Array[Array.length] =         :     3.47us ±    0.06 [3.40..3.70]/100
Array[index] =                :     2.41us ±    0.04 [2.35..2.53]/100
Array[index] = (preallocated) :     2.46us ±    0.06 [2.38..2.80]/100
Object[key] =                 :     2.83us ±    5.14 [2.26..53.75]/100

Seems to work in dhtml, too. Darn it's nice -- any reason components/ utils/performance/measure.lzx shouldn't be the basis for our updated performance benchmarks?

We need a way to track the results in different versions & runtimes of course. Someone's going to say "how about the wiki?" in response to which I am going to shoot myself. XML checked into the source tree would work better, I think... and if Josh Crowley stays up late he could write a charting app to visualize the performance results. (Not that Josh Crowley would ever stay up late.)

-ben

On Oct 17, 2006, at 4:06 PM, Max Carlson wrote:

Yes it does.

-Max

Henry Minsky wrote:
Does the getTimer() value that is sent in LzIdle events start from zero when the LFC is loaded? On 10/16/06, *Henry Minsky* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
    At the bug scrub we talked about getting some updated performance
    benchmarks , are these assigned with some high priorty?
    There's a number of proposed optimizations that are in JIRA which
    would be easier to attack if we had a simple set of metrics we
    could run.  A couple of issues involve app startup time, is that
adequately covered by the existing inittimer tag ? -- Henry Minsky
    Software Architect
    [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
--
Henry Minsky
Software Architect
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

Benjamin Shine
Software Engineer, Open Laszlo / Laszlo Systems
[EMAIL PROTECTED]




Reply via email to