Skip to content

Commit

Permalink
Less expensive profile test so, it doesn't fail on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
janodvarko committed Jul 6, 2012
1 parent e680cf7 commit a44162e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/content/console/api/profile.html
Expand Up @@ -8,7 +8,7 @@
function onExecuteTest()
{
console.profile("Fibonacci");
fib(25);
fib(20);
console.profileEnd();
}

Expand Down
2 changes: 1 addition & 1 deletion tests/content/console/api/profile.js
Expand Up @@ -40,7 +40,7 @@ function runTest()
// Verify some result data.
FBTest.compare("fib", profileRows[1].childNodes[0].textContent,
"The 'fib' function was profiled.");
FBTest.compare(242785, profileRows[1].childNodes[1].textContent,
FBTest.compare(21891, profileRows[1].childNodes[1].textContent,
"The 'fib' function was called exactly 242785 times.");
FBTest.compare("100%", profileRows[1].childNodes[2].textContent,
"Only the 'fib' function was executed.");
Expand Down

0 comments on commit a44162e

Please sign in to comment.