Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Side by Side Diff: LayoutTests/inspector/tracing/timeline-js-callstacks.html

Issue 1311783008: Merge 201072 "DevTools: [timeline tree view] fix total time calc..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2490/
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/inspector/tracing/timeline-js-callstacks-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../tracing-test.js"></script> 4 <script src="../tracing-test.js"></script>
5 <script> 5 <script>
6 function test() 6 function test()
7 { 7 {
8 var sessionId = "6.23"; 8 var sessionId = "6.23";
9 var rawTraceEvents = [ 9 var rawTraceEvents = [
10 { 10 {
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 { "functionName": "x", "callUID": "x", "scriptId": 1 } 316 { "functionName": "x", "callUID": "x", "scriptId": 1 }
317 ] 317 ]
318 } 318 }
319 }, 319 },
320 "cat": "disabled-by-default-devtools.timeline", 320 "cat": "disabled-by-default-devtools.timeline",
321 "name": "FunctionCall", 321 "name": "FunctionCall",
322 "ph": "X", 322 "ph": "X",
323 "pid": 17851, 323 "pid": 17851,
324 "tid": 23, 324 "tid": 23,
325 "ts": 251000, 325 "ts": 251000,
326 "dur": 8000 326 "dur": 1000
327 }, 327 },
328 { 328 {
329 "args": { 329 "args": {
330 "data": { 330 "data": {
331 "stackTrace": [ 331 "stackTrace": [
332 { "functionName": "w", "callUID": "w", "scriptId": 1 }, 332 { "functionName": "w", "callUID": "w", "scriptId": 1 },
333 { "functionName": "z", "callUID": "z", "scriptId": 1 }, 333 { "functionName": "z", "callUID": "z", "scriptId": 1 },
334 { "functionName": "y", "callUID": "y", "scriptId": 1 }, 334 { "functionName": "y", "callUID": "y", "scriptId": 1 },
335 { "functionName": "x", "callUID": "x", "scriptId": 1 } 335 { "functionName": "x", "callUID": "x", "scriptId": 1 }
336 ] 336 ]
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 } 405 }
406 }, 406 },
407 "cat": "disabled-by-default-devtools.timeline", 407 "cat": "disabled-by-default-devtools.timeline",
408 "name": "JSSample", 408 "name": "JSSample",
409 "ph": "I", 409 "ph": "I",
410 "pid": 17851, 410 "pid": 17851,
411 "tid": 23, 411 "tid": 23,
412 "ts": 251400, 412 "ts": 251400,
413 }, 413 },
414 { 414 {
415 "args": {
416 "data": {
417 "stackTrace": [
418 { "functionName": "recursive_b", "scriptId": 1 },
419 { "functionName": "recursive_a", "scriptId": 1 },
420 { "functionName": "recursive_b", "scriptId": 1 },
421 { "functionName": "recursive_a", "scriptId": 1 }
422 ]
423 }
424 },
425 "cat": "disabled-by-default-devtools.timeline",
426 "name": "JSSample",
427 "ph": "I",
428 "pid": 17851,
429 "tid": 23,
430 "ts": 253000,
431 },
432 {
433 "args": {
434 "data": {
435 "stackTrace": [
436 { "functionName": "recursive_a", "scriptId": 1 },
437 { "functionName": "recursive_b", "scriptId": 1 },
438 { "functionName": "recursive_a", "scriptId": 1 }
439 ]
440 }
441 },
442 "cat": "disabled-by-default-devtools.timeline",
443 "name": "JSSample",
444 "ph": "I",
445 "pid": 17851,
446 "tid": 23,
447 "ts": 253008,
448 },
449 {
450 "args": {
451 "data": {
452 "stackTrace": [
453 { "functionName": "recursive_b", "scriptId": 1 },
454 { "functionName": "recursive_a", "scriptId": 1 }
455 ]
456 }
457 },
458 "cat": "disabled-by-default-devtools.timeline",
459 "name": "JSSample",
460 "ph": "I",
461 "pid": 17851,
462 "tid": 23,
463 "ts": 253012,
464 },
465 {
466 "args": {
467 "data": {
468 "stackTrace": [
469 { "functionName": "recursive_a", "scriptId": 1 }
470 ]
471 }
472 },
473 "cat": "disabled-by-default-devtools.timeline",
474 "name": "JSSample",
475 "ph": "I",
476 "pid": 17851,
477 "tid": 23,
478 "ts": 253014,
479 },
480 {
481 "args": {
482 "data": {
483 "stackTrace": [
484 ]
485 }
486 },
487 "cat": "disabled-by-default-devtools.timeline",
488 "name": "JSSample",
489 "ph": "I",
490 "pid": 17851,
491 "tid": 23,
492 "ts": 253015,
493 },
494 {
495 "args": {
496 "data": {
497 "stackTrace": [
498 { "functionName": "recursive_b", "scriptId": 1 },
499 { "functionName": "recursive_a", "scriptId": 1 }
500 ]
501 }
502 },
503 "cat": "disabled-by-default-devtools.timeline",
504 "name": "JSSample",
505 "ph": "I",
506 "pid": 17851,
507 "tid": 23,
508 "ts": 253100,
509 },
510 {
511 "args": {
512 "data": {
513 "stackTrace": [
514 { "functionName": "recursive_a", "scriptId": 1 }
515 ]
516 }
517 },
518 "cat": "disabled-by-default-devtools.timeline",
519 "name": "JSSample",
520 "ph": "I",
521 "pid": 17851,
522 "tid": 23,
523 "ts": 253200,
524 },
525 {
526 "args": {
527 "data": {
528 "stackTrace": [
529 ]
530 }
531 },
532 "cat": "disabled-by-default-devtools.timeline",
533 "name": "JSSample",
534 "ph": "I",
535 "pid": 17851,
536 "tid": 23,
537 "ts": 253300,
538 },
539 {
415 "args": {}, 540 "args": {},
416 "cat": "disabled-by-default-devtools.timeline", 541 "cat": "disabled-by-default-devtools.timeline",
417 "name": "Program", 542 "name": "Program",
418 "ph": "E", 543 "ph": "E",
419 "pid": 17851, 544 "pid": 17851,
420 "tid": 23, 545 "tid": 23,
421 "ts": 500000, 546 "ts": 500000,
422 "tts": 5612506 547 "tts": 5612506
423 } 548 }
424 ]; 549 ];
(...skipping 27 matching lines...) Expand all
452 } 577 }
453 578
454 InspectorTest.completeTest(); 579 InspectorTest.completeTest();
455 } 580 }
456 581
457 </script> 582 </script>
458 </head> 583 </head>
459 <body onload="runTest()"> 584 <body onload="runTest()">
460 </body> 585 </body>
461 </html> 586 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/tracing/timeline-js-callstacks-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698