Commit debe8bd0 authored by kmccullough@apple.com's avatar kmccullough@apple.com

2008-07-08 Kevin McCullough <kmccullough@apple.com>

        Added manual test for the new heavy view.

        * manual-tests/inspector/profiler-test-heavy-view.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 49d4609c
2008-07-08 Kevin McCullough <kmccullough@apple.com>
Added manual test for the new heavy view.
* manual-tests/inspector/profiler-test-heavy-view.html: Added.
2008-07-08 Darin Adler <darin@apple.com>
Reviewed by Mitz.
<html>
<head>
<script src="resources/profiler-test-JS-resources.js"></script>
<script>
console.profile("Heavy View Test");
function a()
{
b();
foo();
d();
d();
g();
console.profileEnd();
}
function b()
{
foo();
foo();
}
function c()
{
foo();
}
function d()
{
e();
}
function e()
{
foo();
}
function g()
{
b();
}
var firstTime = true;
function foo()
{
if (firstTime) {
firstTime = false;
c();
}
}
</script>
</head>
<body onload="a()">
This page has several functions calling each other in a way that exposes interesting
edge cases related to the Heavy view in the profiler.
<br>
<br>
To use this test, load it in the browser then load the WebInspector and look at
the profile in Heavy view.
<div id="output"></div>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment