loadline
यह क्या करती है
यह स्किल आपके AI को Crossbench टूल से LoadLine पेज-लोडिंग बेंचमार्क चलाना दिखाती है। यह उन इंजीनियरों के लिए है जिन्हें Chrome की गति मापनी है या performance traces इकट्ठा करने हैं।
कब इस्तेमाल करें
- ✓जब आप मापना चाहते हैं कि फ़ोन या टैबलेट पर Chrome में वेब पेज कितनी जल्दी लोड होते हैं।
- ✓जब आपको जाँचना है कि कोई कोड बदलाव पेज लोडिंग को तेज़ या धीमा करता है।
- ✓जब आप विश्लेषण के लिए किसी पेज लोड का Perfetto trace इकट्ठा करना चाहते हैं।
Skill का लिंक
https://github.com/chromium/chromium/blob/main/agents/skills/loadline/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरे Android Chrome पर LoadLine फ़ोन बेंचमार्क चला सकते हैं और बता सकते हैं कि पेज लोड समय कैसा दिख रहा है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI एक LoadLine वेरिएंट, एक ब्राउज़र और वेब पेज की कुछ कहानियाँ चुनता है, फिर दोहराव की तय संख्या के साथ Crossbench स्क्रिप्ट चलाता है। उसके बाद वह परिणाम या traces रिपोर्ट करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
LoadLine Benchmark
This skill guides the usage of LoadLine benchmarks to measure browser page loading performance by simulating real-world user journeys (loading a web page).
Quick Start
Read third_party/crossbench/config/benchmark/loadline2/README.md for basic
info on the LoadLine benchmark.
The entry point for all LoadLine benchmarks is the Crossbench script:
third_party/crossbench/cb.py
Common Command Pattern
third_party/crossbench/cb.py <variant> --browser=<browser> --stories=<stories> --repetitions=<N>
Benchmark Variants
| Variant | Description |
|---|---|
loadline2-phone |
The latest LoadLine 2 benchmark optimized for mobile phones. |
loadline2-tablet |
LoadLine 2 benchmark optimized for tablets. |
loadline-phone |
Legacy LoadLine 1 benchmark for phones. |
loadline-tablet |
Legacy LoadLine 1 benchmark for tablets. |
*-debug |
Appends more tracing categories for easier debugging. |
Target Browsers (--browser)
- Android (Chrome): Use
--browser=adb:chrome(if one device) or--browser=$SERIAL:chrome. - Local Build: Use the path to the output directory, e.g.,
--browser=out/Release/chrome. - System Chrome: Use
--browser=chrome-stable,chrome-canary, etc.
Stories (--stories)
Default stories for LoadLine 2:
amazon_productcnn_articlewikipedia_articleglobo_homepagegoogle_search_result
Skip --stories flag to run everything or provide a comma-separated list for
specific stories.
Analyzing Results
LoadLine outputs two kinds of numbers: scores and breakdown.
Scores are in runs-per-minute, so higher is better. The main metric is called TOTAL_SCORE, this is the most stable and representative number.
Breakdown values are in milliseconds, so lower is better. Can be useful for analyzing which loading stage was affected in particular.
Statistical Significance
- Noise: Benchmark results are inherently noisy. A single repetition should only be used for smoke-testing.
- Reliability: To confidently determine changes of 1% or higher, run the benchmark with at least 50 repetitions.
- Interpretation: Changes below 1% are typically not considered statistically significant, even with 50 repetitions.
Identifying Tested Version
You can find the exact version of Chrome being tested in the benchmark logs by
looking for the 🏷️ STARTING BROWSER Version: line:
🏷️ STARTING BROWSER Version: 138.0.7204.168 stable
Common Workflows
Full Basic Run
Run the full benchmark on a connected Android device:
third_party/crossbench/cb.py loadline2-phone --browser=adb:chrome
Test a feature flag
See if a feature flag affects page loading performance:
third_party/crossbench/cb.py loadline2-phone --browser-config=feature_flag.hjson
where feature_flag.hjson looks like this:
{
flags: {
"experiment": {
"enabled": "--enable-features=YourFeature",
"disabled": "--disable-features=YourFeature",
},
},
browsers: {
"chrome": {
browser: "chrome",
driver: "adb",
flags: [ "experiment" ],
},
},
}
Compare past versions of Chrome
Check if clank/bin/install_chrome.py exists. If not (chromium-only checkouts),
see the next section for building Chromium locally.
Use clank/bin/install_chrome.py to install past versions on the connected
device. E.g.
clank/bin/install_chrome.py --channel dev --milestone 146 --signed
will install M146 with "Dev" channel branding. You can use multiple brandings to compare versions on the same device. E.g. install Canary:
clank/bin/install_chrome.py --channel canary --milestone 147 --signed
And then run LoadLine with two browsers:
third_party/crossbench/cb.py loadline2-phone --browser=adb:chrome-dev --browser=adb:chrome-canary
This will compare M146 and M147 on the same device.
Custom-built Chrome
- Build Chrome for Android with
android_channel="canary"gn arg. - Uninstall existing Chrome Canary from the device:
adb shell pm uninstall com.chrome.canary(this command fails if it's not installed; this is fine and can be ignored) - Install the custom built Chrome:
adb install out/$OUT_DIR/apks/Chrome.apk - Run LoadLine on chrome-canary:
third_party/crossbench/cb.py loadline2-phone --browser=adb:chrome-canary
Short run
Before running a full run on a custom-built Chrome, first try with a single re
अक्सर पूछे जाने वाले सवाल
LoadLine क्या है?
LoadLine बेंचमार्क का एक सेट है, जो ब्राउज़र में असली वेब पेज लोड करता है और मापता है कि इसमें कितना समय लगता है।
Crossbench क्या है?
Crossbench वह टूल है जो LoadLine और दूसरे ब्राउज़र बेंचमार्क चलाता है। स्किल उसकी कमांड लाइन स्क्रिप्ट इस्तेमाल करती है।
क्या मैं इसे सामान्य कंप्यूटर के ब्राउज़र पर चला सकता हूँ?
हाँ। स्किल इसे स्थानीय Chrome build या सिस्टम Chrome के साथ भी चला सकती है, केवल Android पर नहीं।
जानकारी
लेखक का मूल विवरण
Running and analyzing LoadLine 1 and 2 benchmarks on Android using Crossbench. Use when you need to measure page loading performance, evaluate performance-related changes in Chrome, or collect Perfetto traces with realistic Chrome workload.
repo: chromium/chromium
लोकप्रियता
- GitHub स्टार
- 25k
- रैंकिंग में स्थान
- #10061
- लाइसेंस
- BSD-3-Clause
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
fuzzing
25kयह आपके एजेंट को फ़ज़ टेस्ट लिखने में मदद करती है, जो कोड में बहुत से यादृच्छिक इनपुट डालकर C++ कोड में क्रैश और बग खोजते हैं।
gn-deps-debugging
25kयह आपके एजेंट को GN build फ़ाइलों में गायब या गलत निर्भरताओं से होने वाली build त्रुटियाँ ठीक करने में मदद करती है, बिना बड़ी और अनावश्यक निर्भरताएँ जोड़े।
java-memory-leaks
25kयह आपके एजेंट को LeakCanary की लीक रिपोर्ट पढ़कर Android ऐप्स में Java मेमोरी लीक खोजने और ठीक करने में मदद करती है।
jni-type-conversion
25kयह आपके एजेंट को Android कोड में हाथ से लिखे Java-से-C++ रूपांतरण कोड की जगह सरल @JniType annotations लगाने में मदद करती है।
मिलती-जुलती skills
test-driven-development
311kयह आपके एजेंट को किसी भी फ़ीचर या सुधार से पहले पहले असफल होने वाला टेस्ट लिखना, उसे असफल होते देखना, फिर पास करने वाला सबसे छोटा कोड लिखना सिखाती है।
verification-before-completion
311kयह आपके एजेंट को किसी काम, सुधार या build के पूरा या पास होने का दावा करने से पहले असली जांच चलाकर उसका आउटपुट पढ़ना सिखाती है।
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।