-
Notifications
You must be signed in to change notification settings - Fork 500
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 5867-api-for-hash-verification-regeneration
- Loading branch information
Showing
20 changed files
with
538 additions
and
46 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Thank you for contributing an issue to the Dataverse Project! If this is a bug report, please let us know when the issue occurs, which page it occurs on, to whom it occurs, and which version of Dataverse you're using. If this is a feature request, please let us know what you'd like to see and give us some context - what kind of user is the feature intended for, and what inspired the request? No matter the issue, screenshots are always welcome. | ||
Thank you for contributing an issue to the Dataverse Project! If this is a bug report, please let us know when the issue occurs, which page it occurs on, to whom it occurs, and which version of Dataverse you're using. If this is a feature request, please let us know what you'd like to see and give us some context - what kind of user is the feature intended for, the relevant use cases, and what inspired the request? No matter the issue, screenshots are always welcome. |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# match version used by Jenkins | ||
Sphinx==1.1.3 | ||
Sphinx==1.5.6 |
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
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,59 @@ | ||
## Automated Memory Benchmark Test | ||
|
||
In order to run the benchmark test you will need the following: | ||
|
||
* The two scripts from this directory: `ec2-memory-benchmark-remote.sh` and `ec2-memory-benchmark.sh` | ||
|
||
* Have the aws command line utilities installed. | ||
|
||
* Have your AWS credentials configured, so that you can spin up EC2 instances. | ||
|
||
All the other pieces will be downloaded automatically (from the | ||
`IQSS/dataverse-ansible` and `IQSS/dataverse-sample-data` GitHub repos), | ||
either locally, where you're running the script, or on the newly | ||
created instance. | ||
|
||
Run the script as follows: | ||
|
||
``` | ||
./ec2-memory-benchmark.sh [DATAVERSE_BRANCH] | ||
``` | ||
|
||
Once the instance is created and populated with the data from | ||
`dataverse-sample-data`, the script will run a memory-intensive stress | ||
test and record some information about the memory utilisation. We are | ||
using the approach tested in #6035 (bombarding the system with GETs on | ||
select pages, then taking snapshots of the allocated classes on the | ||
heap and the garbage collection stats; see the issue for more info). | ||
|
||
In the curret implementation we are testing the two most used pages - | ||
dataverse and dataset. Once (and if) it completes, the script will | ||
provide links to the produced output (downloadable from the EC2 | ||
instance). | ||
|
||
This should be considered work in progress. We'll be working on | ||
creating more tests and figuring out how much/what else to include in | ||
the reports. | ||
|
||
The goal, for now is to be able to test a release (or a branch) and | ||
produce a quantifiable benchmark that can be compared to the result | ||
from the previous release/parent branch. | ||
|
||
In addition to the raw text output the script will produce simple heap | ||
utilisation plots like the examples below: | ||
|
||
<div style="text-align:center; margin:2em"> | ||
<img src="benchmark-dataverse.png"> | ||
</div> | ||
|
||
<div style="text-align:center; margin:2em"> | ||
<img src="benchmark-dataset.png"> | ||
</div> | ||
|
||
The immediate value of the examples above is that they confirm | ||
visually that the memory allocated by the pages is recoverable by the | ||
garbage collector (the line drawn through the lowest points of each | ||
"saw tooth" is pointing down, not up). It will be even more useful to | ||
superimpose a graph like this on something produced by another | ||
release, for comparison. | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.