loadline
하는 일
이 스킬은 Crossbench 도구로 LoadLine 페이지 로딩 벤치마크를 실행하는 방법을 AI에 보여 줍니다. Chrome 속도를 측정하거나 성능 추적을 수집해야 하는 엔지니어를 위한 스킬입니다.
사용하는 경우
- ✓전화기나 태블릿의 Chrome에서 웹 페이지가 얼마나 빨리 로드되는지 측정하고 싶을 때.
- ✓코드 변경이 페이지 로딩을 빠르게 또는 느리게 하는지 확인해야 할 때.
- ✓분석을 위해 페이지 로드의 Perfetto 추적을 수집하고 싶을 때.
스킬 링크
https://github.com/chromium/chromium/blob/main/agents/skills/loadline/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 Android Chrome에서 LoadLine 휴대폰 벤치마크를 실행하고, 페이지 로드 시간이 어떤지 알려 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 LoadLine 변형, 브라우저, 웹 페이지 스토리 세트를 고른 뒤, 반복 횟수를 정해 Crossbench 스크립트를 실행합니다. 그다음 결과나 추적을 보고합니다.
기술 내용 (원본 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이란 무엇인가요?
브라우저에서 실제 웹 페이지를 로드하고 걸리는 시간을 측정하는 벤치마크 모음입니다.
Crossbench란 무엇인가요?
LoadLine과 다른 브라우저 벤치마크를 실행하는 도구입니다. 이 스킬은 그 명령줄 스크립트를 사용합니다.
일반 컴퓨터의 브라우저에서도 실행할 수 있나요?
네. 이 스킬은 Android뿐 아니라 로컬 Chrome 빌드나 시스템 Chrome으로도 실행할 수 있습니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
fuzzing
25k에이전트가 많은 무작위 입력을 코드에 넣어 충돌과 버그를 찾는 퍼즈 테스트를 C++ 코드용으로 작성하도록 돕습니다.
gn-deps-debugging
25k에이전트가 GN 빌드 파일의 누락되거나 잘못된 의존성으로 생기는 빌드 오류를 고치도록 돕습니다. 넓고 불필요한 의존성은 추가하지 않습니다.
java-memory-leaks
25k에이전트가 LeakCanary의 누수 보고서를 읽어 Android 앱의 Java 메모리 누수를 찾고 고치도록 돕습니다.
jni-type-conversion
25k에이전트가 Android 코드에서 수동으로 작성한 Java와 C++ 간 변환 코드를 더 간단한 @JniType 주석으로 바꾸도록 돕습니다.
비슷한 스킬
test-driven-development
311k에이전트가 기능이나 수정을 만들기 전에 실패하는 테스트를 먼저 쓰고, 그것을 통과시키는 가장 작은 코드를 작성하도록 가르칩니다.
verification-before-completion
311k에이전트가 작업, 수정, 빌드가 완료되었거나 통과했다고 말하기 전에 실제 점검을 실행하고 결과를 읽도록 가르칩니다.
migrate-to-shoehorn
310k테스트 파일의 위험한 타입 캐스팅을 shoehorn 라이브러리로 바꿔, 테스트가 일부 데이터만 써도 타입 검사를 통과하도록 돕습니다.