| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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.RecompileConcurrent': | 104 'V8.RecompileConcurrent': |
| 105 new TimerEvent("recompile async", "#CC4499", false, 1), | 105 new TimerEvent("recompile async", "#CC4499", false, 1), |
| 106 'V8.RecompileSynchronized': |
| 107 new TimerEvent("recompile block", "#991166", true, 0), |
| 106 'V8.CompileEval': | 108 'V8.CompileEval': |
| 107 new TimerEvent("compile eval", "#CC4400", true, 0), | 109 new TimerEvent("compile eval", "#CC4400", true, 0), |
| 108 'V8.Parse': | 110 'V8.Parse': |
| 109 new TimerEvent("parse", "#00CC00", true, 0), | 111 new TimerEvent("parse", "#00CC00", true, 0), |
| 110 'V8.PreParse': | 112 'V8.PreParse': |
| 111 new TimerEvent("preparse", "#44CC00", true, 0), | 113 new TimerEvent("preparse", "#44CC00", true, 0), |
| 112 'V8.ParseLazy': | 114 'V8.ParseLazy': |
| 113 new TimerEvent("lazy parse", "#00CC44", true, 0), | 115 new TimerEvent("lazy parse", "#00CC44", true, 0), |
| 114 'V8.GCScavenger': | 116 'V8.GCScavenger': |
| 115 new TimerEvent("gc scavenge", "#0044CC", true, 0), | 117 new TimerEvent("gc scavenge", "#0044CC", true, 0), |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 output("plot '-' using 1:2 axes x1y2 with impulses ls 1"); | 524 output("plot '-' using 1:2 axes x1y2 with impulses ls 1"); |
| 523 for (var i = 0; i < execution_pauses.length; i++) { | 525 for (var i = 0; i < execution_pauses.length; i++) { |
| 524 var pause = execution_pauses[i]; | 526 var pause = execution_pauses[i]; |
| 525 output(pause.end + " " + pause.duration()); | 527 output(pause.end + " " + pause.duration()); |
| 526 obj_index++; | 528 obj_index++; |
| 527 } | 529 } |
| 528 output("e"); | 530 output("e"); |
| 529 return obj_index; | 531 return obj_index; |
| 530 }; | 532 }; |
| 531 } | 533 } |
| OLD | NEW |