Timeline traces here.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2019 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
syntax = "proto2"; | |
package perfetto.protos; | |
import "protos/perfetto/metrics/metrics.proto"; | |
// TODO: Ideally we won't need this second import. | |
import "protos/perfetto/metrics/custom_options.proto"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2019 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
syntax = "proto2"; | |
package perfetto.protos; | |
import "protos/perfetto/metrics/metrics.proto"; | |
// TODO(dproy): This second import is unfortunate. How can we get rid of this? | |
import "protos/perfetto/metrics/custom_options.proto"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2019 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
syntax = "proto2"; | |
option optimize_for = LITE_RUNTIME; | |
package perfetto.protos; | |
import "perfetto/metrics/metrics.proto"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @license Copyright 2019 Google Inc. All Rights Reserved. | |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | |
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. | |
*/ | |
'use strict'; | |
/** @type {LH.Config.Json} */ | |
const config = { | |
extends: 'lighthouse:default', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/brush-timeline.js b/brush-timeline.js | |
index 307a3c2..165c162 100644 | |
--- a/brush-timeline.js | |
+++ b/brush-timeline.js | |
@@ -137,6 +137,11 @@ class BrushTimeline extends HTMLElement { | |
this.setAttribute('end', end); | |
this.updateVis(); | |
} | |
+ | |
+ logAndUpdateEnd(end) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function main() { | |
console.log("Running"); | |
const confirmDiv = document.getElementById("didRunScript"); | |
const taskStart = performance.now(); | |
while(performance.now() < taskStart + 1000); | |
confirmDiv.innerText = "Ran Script"; | |
} | |
document.addEventListener('DOMContentLoaded', function(){ | |
setTimeout(main, 0); |
This gist accompanies The long task attribution doc
Notes:
- We only pick the hostnames for the URLs. Getting the full URL did not produce meanigful result.
None
means the v8 function call task did not have an url with a valid hostname. The vast majority of the time this happens because the URL is empty.- It is not clear why the url is empty for some v8 function calls, but one guess is this happens when the script is embedded in the main html page.
- We limit to top 100 for all lists.
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head i18n-values="dir:textdirection;"> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
<title>https://h5.m.taobao.com/</title> | |
<!-- | |
Polymer is imported through third-party HTML files, which means that we have to | |
manually list all recursive imports. | |
--><dom-module id="tr-ui-a-analysis-link"> | |
<template> |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head i18n-values="dir:textdirection;"> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
<title>https://h5.m.taobao.com/</title> | |
<!-- | |
Polymer is imported through third-party HTML files, which means that we have to | |
manually list all recursive imports. | |
--><dom-module id="tr-ui-a-analysis-link"> | |
<template> |
NewerOlder