https://github.com/tiddlywiki/tiddlywiki5-performance-test-rig
TiddlyWiki 5 Performance Test Rig
https://github.com/tiddlywiki/tiddlywiki5-performance-test-rig
Last synced: 4 months ago
JSON representation
TiddlyWiki 5 Performance Test Rig
- Host: GitHub
- URL: https://github.com/tiddlywiki/tiddlywiki5-performance-test-rig
- Owner: TiddlyWiki
- Created: 2021-09-17T15:45:00.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-30T08:14:13.000Z (over 3 years ago)
- Last Synced: 2024-07-17T05:49:33.611Z (almost 2 years ago)
- Language: JavaScript
- Size: 2.06 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TiddlyWiki 5 Performance Test Rig
# Setup
1. Clone or download this repo
2. Run `npm install` in the root
3. Clone the repo https://github.com/Jermolene/TiddlyWiki5 into a sibling directory to this one called "TiddlyWiki5"
# Comparing two specific versions of TW with the test wiki
```
./compare-tiddlywiki-versions.sh v5.2.3 parameterised-transclusions ./tmp/
```
# Building and running specific versions of the test wiki
The following command builds the latest master and the previous v5.1.23 release:
```sh
./build-tiddlywiki-at-version.sh ./wiki v5.1.23 ./tmp/v5.1.23 && ./build-tiddlywiki-at-version.sh ./wiki master ./tmp/master
```
The following command runs the two wikis under Puppeteer and reports the performance log
```
node ./index.js ./tmp/v5.1.23/index.html && node ./index.js ./tmp/master/index.html
```