summaryrefslogtreecommitdiff
path: root/website/app_test.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-01-30 13:28:55 -0500
committerGitHub <noreply@github.com>2019-01-30 13:28:55 -0500
commit514b7d335977eda1b7b110d3ad5f9f93ac60af5b (patch)
tree8a4ae9ef9296d91540ee511572f56aec1057fc1f /website/app_test.js
parent02b9046a0e9a99ee42e889daa81a1e90641e6434 (diff)
Remove Travis benchmark (#1617)
- We don't look at this benchmark because it jumps around. It isn't stable so doesn't feel trustable. - It requires an extra request for every homepage visit. This is excessive. - I would gladly reintroduce it if we could store the results of the API call into a JSON file like we do with other benchmarks.
Diffstat (limited to 'website/app_test.js')
-rw-r--r--website/app_test.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/website/app_test.js b/website/app_test.js
index 145e56a85..3ee2c7082 100644
--- a/website/app_test.js
+++ b/website/app_test.js
@@ -6,8 +6,7 @@ import {
createExecTimeColumns,
createThreadCountColumns,
createSyscallCountColumns,
- createSha1List,
- getTravisData
+ createSha1List
} from "./app.js";
const regularData = [
@@ -192,10 +191,3 @@ test(function createSha1ListRegularData() {
const sha1List = createSha1List(regularData);
assertEqual(sha1List, ["abcdef", "012345"]);
});
-
-testPerm({ net: true }, async function getTravisDataSuccess() {
- const data = await getTravisData(
- "http://localhost:4545/tools/testdata/travis_benchmark.json"
- );
- assert(data.length !== 0);
-});