| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 94 |
| 95 var TimerEvents = { | 95 var TimerEvents = { |
| 96 'V8.Execute': | 96 'V8.Execute': |
| 97 new TimerEvent("execution", "#000000", false, 0), | 97 new TimerEvent("execution", "#000000", false, 0), |
| 98 'V8.External': | 98 'V8.External': |
| 99 new TimerEvent("external", "#3399FF", false, 0), | 99 new TimerEvent("external", "#3399FF", false, 0), |
| 100 'V8.CompileFullCode': | 100 'V8.CompileFullCode': |
| 101 new TimerEvent("compile unopt", "#CC0000", true, 0), | 101 new TimerEvent("compile unopt", "#CC0000", true, 0), |
| 102 'V8.RecompileSynchronous': | 102 'V8.RecompileSynchronous': |
| 103 new TimerEvent("recompile sync", "#CC0044", true, 0), | 103 new TimerEvent("recompile sync", "#CC0044", true, 0), |
| 104 'V8.RecompileParallel': | 104 'V8.RecompileConcurrent': |
| 105 new TimerEvent("recompile async", "#CC4499", false, 1), | 105 new TimerEvent("recompile async", "#CC4499", false, 1), |
| 106 'V8.CompileEval': | 106 'V8.CompileEval': |
| 107 new TimerEvent("compile eval", "#CC4400", true, 0), | 107 new TimerEvent("compile eval", "#CC4400", true, 0), |
| 108 'V8.Parse': | 108 'V8.Parse': |
| 109 new TimerEvent("parse", "#00CC00", true, 0), | 109 new TimerEvent("parse", "#00CC00", true, 0), |
| 110 'V8.PreParse': | 110 'V8.PreParse': |
| 111 new TimerEvent("preparse", "#44CC00", true, 0), | 111 new TimerEvent("preparse", "#44CC00", true, 0), |
| 112 'V8.ParseLazy': | 112 'V8.ParseLazy': |
| 113 new TimerEvent("lazy parse", "#00CC44", true, 0), | 113 new TimerEvent("lazy parse", "#00CC44", true, 0), |
| 114 'V8.GCScavenger': | 114 'V8.GCScavenger': |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 output("plot '-' using 1:2 axes x1y2 with impulses ls 1"); | 571 output("plot '-' using 1:2 axes x1y2 with impulses ls 1"); |
| 572 for (var i = 0; i < execution_pauses.length; i++) { | 572 for (var i = 0; i < execution_pauses.length; i++) { |
| 573 var pause = execution_pauses[i]; | 573 var pause = execution_pauses[i]; |
| 574 output(pause.end + " " + pause.duration()); | 574 output(pause.end + " " + pause.duration()); |
| 575 obj_index++; | 575 obj_index++; |
| 576 } | 576 } |
| 577 output("e"); | 577 output("e"); |
| 578 return obj_index; | 578 return obj_index; |
| 579 }; | 579 }; |
| 580 } | 580 } |
| OLD | NEW |