a7e381a31e
As expected, mixin method invocation is dramatically slower than conventional class method definitions. However, it is a bit slower than I had anticipated; future releases will definately need to take a look at improving performance, which should happen anyway, since the trait implementation takes the easy way out in a number of instances. Let's get an initial release first. |
||
---|---|---|
.. | ||
README | ||
common.js | ||
perf-class-define-methods-keyword-private.js | ||
perf-class-define-methods-keyword-protected.js | ||
perf-class-define-methods-keyword-public.js | ||
perf-class-define-methods.js | ||
perf-class-define-named.js | ||
perf-class-define-properties-keyword-private.js | ||
perf-class-define-properties-keyword-protected.js | ||
perf-class-define-properties-keyword-public.js | ||
perf-class-define-properties.js | ||
perf-class-define.js | ||
perf-class-get-property.js | ||
perf-class-inst-anon-empty.js | ||
perf-class-inst-named-empty.js | ||
perf-class-invoke-method.js | ||
perf-class-require.js | ||
perf-class-set-property.js | ||
perf-trait-define.js | ||
perf-trait-invoke-method.js | ||
perf-trait-methods.js | ||
perf-trait-mixin.js |
README
This directory contains the performance tests. These tests contain basic routines that perform a single action and output the result in seconds, with a basic description of what has been done. The timing is done via the native Date object to ensure that it can be run both server and client-side. It is important that each test performs only a single operation to ensure that the prior operations have no consequences on the previous, at least when run server-side by invoking a separate executable for each.