summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Benchmark/TestCases/b-001.json
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Benchmark/TestCases/b-001.json')
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Benchmark/TestCases/b-001.json53
1 files changed, 53 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Benchmark/TestCases/b-001.json b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Benchmark/TestCases/b-001.json
new file mode 100644
index 00000000..f50e75c7
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Benchmark/TestCases/b-001.json
@@ -0,0 +1,53 @@
+{
+ "description": "Standard import and rebuild benchmarks",
+ "tests": [
+ {
+ "type": "import",
+ "name": "import-001.xml",
+ "importFrom": "/../Fixtures/import-001.xml"
+ },
+ {
+ "type": "contentCopy",
+ "name": "import-001.xml",
+ "importFrom": "/../Fixtures/import-001.xml",
+ "copyFrom": "Lorem ipsum",
+ "canOverrideCopyCount": true,
+ "copyCount": 1000
+ },
+ {
+ "type": "editCopy",
+ "name": "import-002.xml",
+ "importFrom": "/../Fixtures/import-002.xml",
+ "edit": [
+ "Lorem ipsum",
+ "Lorem donec",
+ "Lorem enim",
+ "Lorem sit",
+ "Lorem tempor"
+ ],
+ "canOverrideEditCount": true,
+ "editRepetitionCount": 50
+ },
+ {
+ "type": "job",
+ "job": "SMW\\RefreshJob",
+ "repetitionCount": 1
+ },
+ {
+ "type": "job",
+ "job": "SMW\\UpdateJob",
+ "repetitionCount": 1
+ },
+ {
+ "type": "maintenance",
+ "script": "rebuildData",
+ "options": {
+ "f": true
+ },
+ "repetitionCount": 1
+ }
+ ],
+ "meta": {
+ "version": "1"
+ }
+} \ No newline at end of file