Skip to content

Commit b34a86b

Browse files
committed
now you can run perf test in the browser too
1 parent ba9139d commit b34a86b

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ npm-debug.log
99
browsertest/bundle.js
1010
src/Testing*
1111
testing
12+
performance/performance.js

performance/browserperf

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#! /usr/bin/env bash
2+
3+
# generates performance.js for running the performance.html page on your browser
4+
5+
node_modules/.bin/browserify performance/PerformanceTest.coffee > performance/performance.js

performance/performance.html

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!--
2+
To view these examples live, visit:
3+
http://htmlpreview.github.io/?https://raw.github.com/baconjs/bacon.js/master/examples/examples.html
4+
-->
5+
<html>
6+
<head>
7+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8+
<script src="performance.js"></script>
9+
<script>
10+
11+
12+
</script>
13+
</head>
14+
<body>
15+
</body>
16+
</html>

0 commit comments

Comments
 (0)