Mike Gerwitz
90fd1a8d08
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'. |
||
---|---|---|
.. | ||
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 | ||
runner.in |
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.