1
0
Fork 0
easejs/test/perf
Mike Gerwitz 90fd1a8d08
`override' implies `virtual'
This behavior is consistent with other OO languages like C++ and C# that do
not have virtual methods by default.

This solution isn't ideal, but I don't have time for a larger refactoring
right now.  I sat on this change for a good few weeks before committing it
unchanged.

* lib/MemberBuilderValidator.js (validateMethod): Allow override of
  supertype overrides.

* test/*: Stripped `virtual' keyword where appropriate.

* doc/classes.texi (Inheritance): Update to state that `override' implies
  `virtual'.
2017-06-30 02:01:40 -04:00
..
README Began adding performance tests 2011-03-10 22:43:36 -05:00
common.js [copyright] Copyright update 2015-05-28 01:01:51 -04:00
perf-class-define-methods-keyword-private.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-class-define-methods-keyword-protected.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-class-define-methods-keyword-public.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-class-define-methods.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-class-define-named.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-class-define-properties-keyword-private.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-class-define-properties-keyword-protected.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-class-define-properties-keyword-public.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-class-define-properties.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-class-define.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-class-get-property.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-class-inst-anon-empty.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-class-inst-named-empty.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-class-invoke-method.js [copyright] Copyright update 2015-05-28 01:01:51 -04:00
perf-class-require.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-class-set-property.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-trait-define.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-trait-invoke-method.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-trait-methods.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
perf-trait-mixin.js `override' implies `virtual' 2017-06-30 02:01:40 -04:00
runner.in [copyright] Copyright update 2015-05-28 01:01:51 -04: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.