1
0
Fork 0
easejs/test/perf
Mike Gerwitz 6b374902ae Separated private members into a separate object (propobj) to prepare for future modifications
- This incurs a performance hit for accessing protected members, and even further for public, internally
  - But speeds up access to private members, likely due to there being less members
2011-03-12 23:48:38 -05:00
..
README Began adding performance tests 2011-03-10 22:43:36 -05:00
common.js Added performance test for reading properties, internal and external 2011-03-11 19:14:10 -05:00
perf-class-define-methods-keyword-private.js Added property/method class definition performance tests 2011-03-10 23:32:33 -05:00
perf-class-define-methods-keyword-protected.js Added property/method class definition performance tests 2011-03-10 23:32:33 -05:00
perf-class-define-methods-keyword-public.js Added property/method class definition performance tests 2011-03-10 23:32:33 -05:00
perf-class-define-methods.js Added property/method class definition performance tests 2011-03-10 23:32:33 -05:00
perf-class-define-named.js Added property/method class definition performance tests 2011-03-10 23:32:33 -05:00
perf-class-define-properties-keyword-private.js Added property/method class definition performance tests 2011-03-10 23:32:33 -05:00
perf-class-define-properties-keyword-protected.js Added property/method class definition performance tests 2011-03-10 23:32:33 -05:00
perf-class-define-properties-keyword-public.js Added property/method class definition performance tests 2011-03-10 23:32:33 -05:00
perf-class-define-properties.js Added property/method class definition performance tests 2011-03-10 23:32:33 -05:00
perf-class-define.js Added count to perf output to calculate individual cost 2011-03-10 23:07:52 -05:00
perf-class-get-property.js Added performance test for reading properties, internal and external 2011-03-11 19:14:10 -05:00
perf-class-inst-anon-empty.js Added count to perf output to calculate individual cost 2011-03-10 23:07:52 -05:00
perf-class-inst-named-empty.js Added count to perf output to calculate individual cost 2011-03-10 23:07:52 -05:00
perf-class-invoke-method.js Separated private members into a separate object (propobj) to prepare for future modifications 2011-03-12 23:48:38 -05:00
perf-class-require.js Added count to perf output to calculate individual cost 2011-03-10 23:07:52 -05:00
perf-class-set-property.js Added performance tests for setting properties, internally and externally 2011-03-11 19:16:52 -05:00

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.