Title: [201961] trunk/PerformanceTests
- Revision
- 201961
- Author
- [email protected]
- Date
- 2016-06-10 18:52:58 -0700 (Fri, 10 Jun 2016)
Log Message
Make it easy to package Air.js
https://bugs.webkit.org/show_bug.cgi?id=158652
Reviewed by Benjamin Poulain.
If you want to give Air.js to someone, you can now do:
cd PerformanceTests/Air.js
./make_dist.sh
This will create Air.js.tar.gz and a directory called Air.js. If you want to send someone
the benchmark, just send either of those things and tell them to look at index.html.
You may have to edit make_dist.sh for wherever you have Markdown.pl. You can get that from
https://daringfireball.net/projects/markdown/
* Air.js/make_dist.sh: Added.
* Air.js/test.html:
Modified Paths
Added Paths
Diff
Added: trunk/PerformanceTests/Air.js/make_dist.sh (0 => 201961)
--- trunk/PerformanceTests/Air.js/make_dist.sh (rev 0)
+++ trunk/PerformanceTests/Air.js/make_dist.sh 2016-06-11 01:52:58 UTC (rev 201961)
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+set -e
+set -x
+
+MARKDOWN="perl $HOME/Documents/Markdown.pl"
+
+rm -rf Air.js
+mkdir Air.js
+${MARKDOWN} < README.md > Air.js/index.html
+cp \
+ all.js \
+ allocate_stack.js \
+ arg.js \
+ basic_block.js \
+ benchmark.js \
+ code.js \
+ custom.js \
+ frequented_block.js \
+ insertion_set.js \
+ inst.js \
+ liveness.js \
+ opcode.js \
+ payload-airjs-ACLj8C.js \
+ payload-gbemu-executeIteration.js \
+ payload-imaging-gaussian-blur-gaussianBlur.js \
+ payload-typescript-scanIdentifier.js \
+ reg.js \
+ stack_slot.js \
+ symbols.js \
+ test.html \
+ test.js \
+ tmp.js \
+ tmp_base.js \
+ util.js \
+ Air.js/
+
+tar -czvf Air.js.tar.gz Air.js
+
Property changes on: trunk/PerformanceTests/Air.js/make_dist.sh
___________________________________________________________________
Added: svn:executable
Modified: trunk/PerformanceTests/Air.js/test.html (201960 => 201961)
--- trunk/PerformanceTests/Air.js/test.html 2016-06-11 01:32:47 UTC (rev 201960)
+++ trunk/PerformanceTests/Air.js/test.html 2016-06-11 01:52:58 UTC (rev 201961)
@@ -24,8 +24,12 @@
<script src=""
<script>
function runTest() {
- var result = runBenchmark();
- document.getElementById("result-summary").innerHTML = "That took " + result + " ms.";
+ try {
+ var result = runBenchmark();
+ document.getElementById("result-summary").innerHTML = "That took " + result + " ms.";
+ } catch (e) {
+ document.getElementById("result-summary").innerHTML = "Failed: " + e;
+ }
}
</script>
</head>
Modified: trunk/PerformanceTests/ChangeLog (201960 => 201961)
--- trunk/PerformanceTests/ChangeLog 2016-06-11 01:32:47 UTC (rev 201960)
+++ trunk/PerformanceTests/ChangeLog 2016-06-11 01:52:58 UTC (rev 201961)
@@ -1,5 +1,26 @@
2016-06-10 Filip Pizlo <[email protected]>
+ Make it easy to package Air.js
+ https://bugs.webkit.org/show_bug.cgi?id=158652
+
+ Reviewed by Benjamin Poulain.
+
+ If you want to give Air.js to someone, you can now do:
+
+ cd PerformanceTests/Air.js
+ ./make_dist.sh
+
+ This will create Air.js.tar.gz and a directory called Air.js. If you want to send someone
+ the benchmark, just send either of those things and tell them to look at index.html.
+
+ You may have to edit make_dist.sh for wherever you have Markdown.pl. You can get that from
+ https://daringfireball.net/projects/markdown/
+
+ * Air.js/make_dist.sh: Added.
+ * Air.js/test.html:
+
+2016-06-10 Filip Pizlo <[email protected]>
+
Unreviewed, make the link to test.html into an actual link.
* Air.js/README.md:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes