Go to file
Brad Jorsch 88be4ec461 LuaInterpreterTest: Limit the busy loop
The test currently runs a busy loop that does string operations 1
billion times, when really it just needs something that takes more than
2 seconds of CPU time. On the other hand, there's another test that uses
the same method to run only 100 string operations for a different test.

Add a second parameter to have it exit early if enough CPU time has been
used, and use it in the first test.

Bug: T220685
Change-Id: I32309f049bcfb2e1310651818ff8674f0a311f40
2019-06-20 12:11:40 -04:00
.phan build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0 2019-05-19 12:38:55 +00:00
i18n Localisation updates from https://translatewiki.net. 2019-06-10 22:55:43 +02:00
includes ustring: Replace UtfNormal hack with a different one 2019-06-11 00:09:15 +00:00
modules build: Update eslint-config-wikimedia from 0.8.1 to 0.11.0 2019-04-12 13:00:29 -07:00
tests LuaInterpreterTest: Limit the busy loop 2019-06-20 12:11:40 -04:00
.eslintrc.json build: Set "root": true, in .eslintrc.json 2018-12-17 18:58:09 -08:00
.gitignore build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint 2019-05-07 10:40:41 -07:00
.gitreview Whoops, track not trace 2016-10-24 17:03:31 -07:00
.minus-x.json Move classes into includes/ 2018-04-09 08:54:22 -07:00
.phpcs.xml Add method scope visibility 2018-11-19 21:18:12 +00:00
.stylelintrc.json Use json extension for .stylelintrc 2017-08-19 10:27:54 +02:00
CODE_OF_CONDUCT.md build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-03 21:33:35 +00:00
composer.json build: Updating mediawiki/mediawiki-phan-config to 0.6.1 2019-06-11 00:09:17 +00:00
COPYING Specify license and add COPYING file 2016-09-16 01:38:15 +00:00
extension.json Set "TemplateSandboxEditNamespaces" in extension.json 2019-01-15 09:39:30 -08:00
Gruntfile.js build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint 2019-05-07 10:40:41 -07:00
package-lock.json build: Updating npm dependencies for security issues 2019-06-08 20:48:26 +00:00
package.json build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint 2019-05-07 10:40:41 -07:00
Scribunto.magic.php Use short array syntax 2017-06-16 13:26:30 +00:00
Scribunto.namespaces.php Update Module_talk name in Telugu 2019-04-12 18:14:14 +00:00
Scribunto.php Upgrade to newer phan 2019-03-20 21:19:37 -07:00