@if (isLabsEnabled()) {
@if (activeView() === 'playground') { }

XProf Labs

An experimental playground and plugin marketplace. Prototype and share custom profiling utilities, analyze raw HLO/Xplane data in Colab notebooks, or try AI-assisted trace analysis.

@if (activeView() === 'experiments') { } @if (activeView() === 'playground') { }
@if (activeView() === 'experiments') {
@for (category of categories; track category) { }
search @if (searchQuery()) { }
@if (searchQuery()) {

Search results ({{searchResultsCount()}})

} @if (activeTab() === 'curated') {
@if (filteredCuratedTools().length > 0) {
Title
Description
Category
Owner
Buganizer
Lifecycle
Status
Actions
} @for (tool of filteredCuratedTools(); track tool.key) {
{{tool.icon}}

{{tool.label}}

{{tool.description}}

@for (tag of tool.tags; track tag) { {{tag}} }
{{tool.statusText ?? ''}}
} @if (filteredCuratedTools().length === 0 && selectedCategory() === 'Favorite') {
star_outline

No favorite experiments yet

Click the star icon in the top-right corner of any experiment card to save it here for quick access.

} @if (filteredCuratedTools().length === 0 && selectedCategory() !== 'Favorite') {
search_off

No results found

We couldn't find any experiments matching your query. Try checking for typos or searching a different term.

}
} @if (activeTab() === 'my-tools') {
@if (myTools().length === 0) {
dashboard_customize

No experiments started yet

Drafts and experiments you submit for review will show up here. Use the Playground Sandbox to start a new experiment.

}
}
} @if (activeView() === 'playground') {
warning
Playground Safeguard: Trace inputs are capped at 100MB (or 100k events) to prevent browser latency.
Python Script Input
{{playgroundStatusText()}}
@if (isAiGenerating()) {
sync AI generating visualization code...
}
auto_awesome
Visualizer Plot Output
@if (hasPlaygroundChart()) {

TPU 0 Instruction Compilation Overhead

0s1s2s3s4s5s
} @else {
insights

Run code to generate plot

Press "Run" in the code panel to compile telemetry inputs and output an interactive graph.

}
}
}