aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorkasperl@chromium.org <kasperl@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>2009-07-27 08:59:04 +0000
committerkasperl@chromium.org <kasperl@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>2009-07-27 08:59:04 +0000
commite959c18cf7193e2f021245584a3c8f1f32f82c92 (patch)
tree3da3bea1f890ced126defc23d1b53b0e74cf5280 /benchmarks
parentb4204869d2e9e4966982796d9369cd03b493e768 (diff)
downloadv8-e959c18cf7193e2f021245584a3c8f1f32f82c92.tar.gz
Version 1.3.0.
Allowed RegExp objects to be called as functions (issue 132). Fixed issue where global property cells would escape after detaching the global object; see http://crbug.com/16276. Added support for stepping into setters and getters in the debugger. Changed the debugger to avoid stopping in its own JavaScript code and in the code of built-in functions. Fixed issue 345 by avoiding duplicate escaping labels. Fixed ARM code generator crash in short-circuited boolean expressions and added regression tests. Added an external allocation limit to avoid issues where small V8 objects would hold on to large amounts of external memory without causing garbage collections. Finished more of the inline caching stubs for x64 targets. git-svn-id: http://v8.googlecode.com/svn/trunk@2537 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Diffstat (limited to 'benchmarks')
-rw-r--r--[-rwxr-xr-x]benchmarks/run.html32
-rw-r--r--[-rwxr-xr-x]benchmarks/style.css9
2 files changed, 41 insertions, 0 deletions
diff --git a/benchmarks/run.html b/benchmarks/run.html
index 050764e01..ef2c18641 100755..100644
--- a/benchmarks/run.html
+++ b/benchmarks/run.html
@@ -55,9 +55,35 @@ function Run() {
NotifyScore: AddScore });
}
+function ShowWarningIfObsolete() {
+ // If anything goes wrong we will just catch the exception and no
+ // warning is shown, i.e., no harm is done.
+ try {
+ var xmlhttp;
+ var next_version = parseInt(BenchmarkSuite.version) + 1;
+ var next_version_url = "../v" + next_version + "/run.html";
+ if (window.XMLHttpRequest) {
+ xmlhttp = new window.XMLHttpRequest();
+ } else if (window.ActiveXObject) {
+ xmlhttp = new window.ActiveXObject("Microsoft.XMLHTTP");
+ }
+ xmlhttp.open('GET', next_version_url, true);
+ xmlhttp.onreadystatechange = function() {
+ if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
+ document.getElementById('obsolete').style.display="block";
+ }
+ };
+ xmlhttp.send(null);
+ } catch(e) {
+ // Ignore exception if check for next version fails.
+ // Hence no warning is displayed.
+ }
+}
+
function Load() {
var version = BenchmarkSuite.version;
document.getElementById("version").innerHTML = version;
+ ShowWarningIfObsolete();
setTimeout(Run, 200);
}
</script>
@@ -65,6 +91,12 @@ function Load() {
<body onload="Load()">
<div>
<div class="title"><h1>V8 Benchmark Suite - version <span id="version">?</span></h1></div>
+ <div class="warning" id="obsolete">
+Warning! This is not the latest version of the V8 benchmark
+suite. Consider running the
+<a href="http://v8.googlecode.com/svn/data/benchmarks/current/run.html">
+latest version</a>.
+ </div>
<table>
<tr>
<td class="contents">
diff --git a/benchmarks/style.css b/benchmarks/style.css
index 46320c1eb..d9f4dbfc0 100755..100644
--- a/benchmarks/style.css
+++ b/benchmarks/style.css
@@ -55,6 +55,15 @@ div.run {
border: 1px solid rgb(51, 102, 204);
}
+div.warning {
+ background: #ffffd9;
+ border: 1px solid #d2d26a;
+ display: none;
+ margin: 1em 0 2em;
+ padding: 8px;
+ text-align: center;
+}
+
#status {
text-align: center;
margin-top: 50px;