-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SolidBench performance benchmark to CI
- Loading branch information
1 parent
4aa2cf1
commit 552bc70
Showing
52 changed files
with
10,042 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,4 @@ | |
"loglevel": "success", | ||
"registry": "https://registry.npmjs.org/", | ||
"npmClient": "yarn" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/componentsjs-error-state.json | ||
/node_modules | ||
/generated/* | ||
!/generated/.keep | ||
/output/* | ||
!/output/.keep | ||
/combinations/*/generated/* | ||
!/combinations/*/generated/.keep | ||
/combinations/*/output/* | ||
!/combinations/*/output/.keep | ||
plot_queries_data.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Benchmark SolidBench | ||
|
||
This internal package benchmarks Comunica Link Traversal Solid using the [SolidBench](https://github.com/SolidBench/SolidBench.js) benchmark. | ||
|
||
Compare your current version of Comunica locally with the latest published release by running `npm run performance` from within this package. | ||
This will output a file called `plot_queries_data.svg` that visualizes the performance differences. | ||
|
||
If you only want to check the performance of your current version of Comunica, | ||
you can run `npm run performance:ci` instead, | ||
which is what the CI will run as well for continuous performance measurements. | ||
|
||
Continuous performance results are tracked on https://github.com/comunica/comunica-performance-results. |
Empty file.
Empty file.
8 changes: 8 additions & 0 deletions
8
performance/benchmark-solidbench/combinations/combination_0/input/config-client.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"@context": [ | ||
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/config-query-sparql-link-traversal/^0.0.0/components/context.jsonld" | ||
], | ||
"import": [ | ||
"ccqslt:config/config-solid-default.json" | ||
] | ||
} |
29 changes: 29 additions & 0 deletions
29
performance/benchmark-solidbench/combinations/combination_0/input/config-enhancer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/ldbc-snb-enhancer/^2.0.0/components/context.jsonld", | ||
"@id": "urn:ldbc-snb-enhancer:default", | ||
"@type": "Enhancer", | ||
"personsPath": "out-snb/social_network/social_network_person_0_0.ttl", | ||
"activitiesPath": "out-snb/social_network/social_network_activity_0_0.ttl", | ||
"staticPath": "out-snb/social_network/social_network_static_0_0.ttl", | ||
"destinationPathData": "out-enhanced/social_network_auxiliary.ttl", | ||
"logger": { | ||
"@type": "LoggerStdout" | ||
}, | ||
"dataSelector": { | ||
"@type": "DataSelectorRandom", | ||
"seed": 12345 | ||
}, | ||
"parameterEmitterPosts": { | ||
"@type": "ParameterEmitterCsv", | ||
"destinationPath": "out-enhanced/parameters-posts.csv" | ||
}, | ||
"handlers": [ | ||
{ | ||
"@type": "EnhancementHandlerPersonNoise", | ||
"chance": 10 | ||
}, | ||
{ | ||
"@type": "EnhancementHandlerVocabulary" | ||
} | ||
] | ||
} |
61 changes: 61 additions & 0 deletions
61
...ce/benchmark-solidbench/combinations/combination_0/input/config-fragmenter-auxiliary.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/rdf-dataset-fragmenter/^2.0.0/components/context.jsonld", | ||
"@id": "urn:rdf-dataset-fragmenter:default", | ||
"@type": "Fragmenter", | ||
"quadSource": { | ||
"@id": "urn:rdf-dataset-fragmenter:source:default", | ||
"@type": "QuadSourceComposite", | ||
"sources": [ | ||
{ | ||
"@type": "QuadSourceFile", | ||
"filePath": "out-enhanced/social_network_auxiliary.ttl" | ||
} | ||
] | ||
}, | ||
"transformers": [ | ||
{ | ||
"@type": "QuadTransformerReplaceIri", | ||
"searchRegex": "^http://www.ldbc.eu", | ||
"replacementString": "http://solidbench-server:3000/www.ldbc.eu" | ||
}, | ||
{ | ||
"@type": "QuadTransformerReplaceIri", | ||
"searchRegex": "^http://dbpedia.org", | ||
"replacementString": "http://solidbench-server:3000/dbpedia.org" | ||
}, | ||
{ | ||
"@type": "QuadTransformerReplaceIri", | ||
"searchRegex": "^http://www.w3.org/2002/07/owl", | ||
"replacementString": "http://solidbench-server:3000/www.w3.org/2002/07/owl" | ||
}, | ||
{ | ||
"@type": "QuadTransformerReplaceIri", | ||
"searchRegex": "^http://solidbench-server:3000/www.ldbc.eu/ldbc_socialnet/1.0/data/pers([0-9]*)$", | ||
"replacementString": "http://solidbench-server:3000/pods/$1/profile/card#me" | ||
}, | ||
{ | ||
"@type": "QuadTransformerRemapResourceIdentifier", | ||
"newIdentifierSeparator": "../noise/", | ||
"typeRegex": "vocabulary/Noise$", | ||
"identifierPredicateRegex": "vocabulary/noise$", | ||
"targetPredicateRegex": "vocabulary/hasCreator$" | ||
} | ||
], | ||
"fragmentationStrategy": { | ||
"@type": "FragmentationStrategyComposite", | ||
"strategies": [ | ||
{ "@type": "FragmentationStrategySubject" } | ||
] | ||
}, | ||
"quadSink": { | ||
"@id": "urn:rdf-dataset-fragmenter:sink:default", | ||
"@type": "QuadSinkFile", | ||
"log": true, | ||
"outputFormat": "application/n-quads", | ||
"fileExtension": ".nq", | ||
"iriToPath": { | ||
"http://": "out-fragments/http/", | ||
"https://": "out-fragments/https/" | ||
} | ||
} | ||
} |
Oops, something went wrong.
552bc70
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmarks total results
SolidBench
null
ms3848
ms0
This comment was automatically generated by workflow using github-action-benchmark.
552bc70
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Performance benchmarks succeeded! 🚀
[Summarized results] [Detailed results]