diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3c3629e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+node_modules
diff --git a/Readme.md b/Readme.md
index 13580b0..235e4e0 100644
--- a/Readme.md
+++ b/Readme.md
@@ -1,6 +1,6 @@
-## rust-analyzer dashboard
+## zlib-rs performance dashboard
-Stores performance metrics for rust-analyzer.
+Stores performance metrics for zlib-rs.
Metrics are automatically published by GitHub Actions.
@@ -22,4 +22,4 @@ npm run build
## License
-Dual-licensed under [Apache 2.0](LICENSE-APACHE) and [MIT license](LICENSE-MIT).
\ No newline at end of file
+Dual-licensed under [Apache 2.0](LICENSE-APACHE) and [MIT license](LICENSE-MIT).
diff --git a/index.html b/index.html
index d314216..2b436eb 100644
--- a/index.html
+++ b/index.html
@@ -4,18 +4,17 @@
- rust-analyzer Dashboard
+ zlib-rs benchmark dashboard
-
rust-analyzer dashboard
+
zlib-rs benchmark dashboard
- Home
- GitHub
+ GitHub
diff --git a/package.json b/package.json
index 1f3c0cb..db89fa1 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "metrics",
- "description": "Stores performance metrics for rust-analyzer.",
+ "description": "Stores performance metrics for zlib-rs.",
"version": "1.0.0",
"devDependencies": {
"typescript": "^4.5.2",
@@ -12,9 +12,9 @@
},
"license": "MIT OR Apache-2.0",
"bugs": {
- "url": "https://github.com/rust-analyzer/metrics/issues"
+ "url": "https://github.com/trifectatechfoundation/zlib-rs-bench/issues"
},
- "homepage": "https://github.com/rust-analyzer/metrics#readme",
+ "homepage": "https://github.com/trifectatechfoundation/zlib-rs-bench/tree/gh-pages#readme",
"prettier": {
"trailingComma": "es5",
"tabWidth": 4,
diff --git a/script.js b/script.js
index 6e333b8..1414d97 100644
--- a/script.js
+++ b/script.js
@@ -92,7 +92,7 @@ function show_notification(html_text) {
}, 3000);
}
async function main() {
- const DATA_URL = 'https://raw.githubusercontent.com/rust-analyzer/metrics/master/metrics.json';
+ const DATA_URL = 'https://raw.githubusercontent.com/trifectatechfoundation/zlib-rs-bench/main/metrics.json';
const data = await (await fetch(DATA_URL)).text();
const entries = data
.split('\n')
@@ -145,6 +145,7 @@ async function main() {
y: data,
hovertext: revision,
hovertemplate: `%{y} ${unit}
(%{hovertext})`,
+ // These are no longer tracked, so hide them by default
visible: !(project === 'ripgrep' ||
project === 'diesel' ||
project === 'webrender'),
@@ -169,7 +170,7 @@ async function main() {
Plotly.newPlot(plotDiv, definition.data, definition.layout);
plotDiv.on('plotly_click', (data) => {
const commit_hash = data.points[0].hovertext;
- const url = `https://github.com/rust-analyzer/rust-analyzer/commit/${commit_hash}`;
+ const url = `https://github.com/trifectatechfoundation/zlib-rs/commit/${commit_hash}`;
const notification_text = `Commit ${commit_hash} URL copied to clipboard`;
navigator.clipboard.writeText(url);
show_notification(notification_text);
diff --git a/script.ts b/script.ts
index 508eeac..88de6df 100644
--- a/script.ts
+++ b/script.ts
@@ -146,7 +146,7 @@ function show_notification(html_text: string) {
async function main() {
const DATA_URL =
- 'https://raw.githubusercontent.com/rust-analyzer/metrics/master/metrics.json';
+ 'https://raw.githubusercontent.com/trifectatechfoundation/zlib-rs-bench/main/metrics.json';
const data = await (await fetch(DATA_URL)).text();
const entries: Entry[] = data
.split('\n')
@@ -236,7 +236,7 @@ async function main() {
Plotly.newPlot(plotDiv, definition.data, definition.layout);
plotDiv.on('plotly_click', (data) => {
const commit_hash: string = (data.points[0] as any).hovertext;
- const url = `https://github.com/rust-analyzer/rust-analyzer/commit/${commit_hash}`;
+ const url = `https://github.com/trifectatechfoundation/zlib-rs/commit/${commit_hash}`;
const notification_text = `Commit ${commit_hash} URL copied to clipboard`;
navigator.clipboard.writeText(url);
show_notification(notification_text);