-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add builds for browser, including a very simple bench runner
- Loading branch information
Showing
7 changed files
with
14,971 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>Fast.js Benchmarks</title> | ||
</head> | ||
<body> | ||
<h1>Please open your JavaScript console, then <button id="starter" onclick="startAll()">Click to Start</button></h1> | ||
<script> | ||
function startAll () { | ||
var old = console.log; | ||
console.log = function (message) { | ||
old.call(console, ('' + message).replace(/\u001b\[(?:[0-9]{1,3}(?:;[0-9]{1,3})*)?[m|K]/g, '')); | ||
}; | ||
document.getElementById('starter').remove(); | ||
var node = document.createElement('script'); | ||
node.src = './bench.js'; | ||
document.body.appendChild(node); | ||
|
||
} | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.