Skip to content
Novus Examples
txt1.3 KB

CPU Profile — Folded Stacks After a Regression (txt)

The same workload after a change: JSON decoding costs four times as much and gains a new reflect frame, while cache lookups get cheaper. Paired with the baseline so a differential flamegraph can be scored against a known regression and a known improvement.

Preview — first 14 linestxt
main;runtime.main;http.ListenAndServe;http.(*conn).serve;checkout.Handle;checkout.price;pricing.applyDiscount 4120
main;runtime.main;http.ListenAndServe;http.(*conn).serve;checkout.Handle;checkout.price;pricing.lookupRate;sql.(*DB).QueryContext 2880
main;runtime.main;http.ListenAndServe;http.(*conn).serve;checkout.Handle;checkout.price;pricing.lookupRate;cache.Get 480
main;runtime.main;http.ListenAndServe;http.(*conn).serve;checkout.Handle;encoding/json.Marshal;encoding/json.(*encodeState).marshal 3310
main;runtime.main;http.ListenAndServe;http.(*conn).serve;checkout.Handle;encoding/json.Unmarshal;encoding/json.(*decodeState).object 8760
main;runtime.main;http.ListenAndServe;http.(*conn).serve;checkout.Handle;inventory.Reserve;grpc.(*ClientConn).Invoke 1760
main;runtime.main;http.ListenAndServe;http.(*conn).serve;auth.Verify;crypto/ecdsa.Verify 980
main;runtime.main;http.ListenAndServe;http.(*conn).serve;middleware.Log;fmt.Sprintf 610
main;runtime.main;metrics.flushLoop;prometheus.(*Registry).Gather 540
main;runtime.main;runtime.gcBgMarkWorker;runtime.scanobject 1880
main;runtime.main;runtime.mcall;runtime.schedule;runtime.findRunnable 720
main;runtime.main;runtime.sysmon 130
main;runtime.main;http.ListenAndServe;http.(*conn).serve;checkout.Handle;encoding/json.Unmarshal;encoding/json.(*decodeState).object;reflect.Value.Set 3960

Specifications

Stacks
13
Total Samples
30130
New Stacks
1
Regressed Path
encoding/json.(*decodeState).object
Regression Factor
4
Improved Path
cache.Get
Sample Growth Percent
46.5

Testing contract

Expected to pass
Scenario
Generate a differential flamegraph from the baseline and this profile.
Expected result
The JSON decode path shows as the dominant regression with one entirely new stack ending in reflect.Value.Set, and cache.Get shows as an improvement rather than being lost in the noise.

What is a .txt file?

TXT is a plain-text file containing unformatted character data with no styling or structure beyond line breaks. Its interpretation depends on character encoding, most commonly UTF-8, and on line-ending convention. It is the most universal and portable text container.

How to use this file

Use an example TXT to test encoding detection, line-ending (LF versus CRLF) handling, and any tool that reads or streams raw text input.

How to use this file for testing

“CPU Profile — Folded Stacks After a Regression (txt)” is a deterministic Novus Examples fixture for Observability, Performance testing, Visual diff / regression. Structured and plain-text telemetry with known timestamps, levels, request identifiers, and error states for testing log ingestion, correlation, dashboards, and alert pipelines.

Documented properties for this file: TXT · 1,351 bytes. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Telemetry fixtures use fixed trace IDs, span IDs, and timestamps so ingestion is reproducible run to run. Point your collector, parser, or query layer at the file and assert the documented span tree, metric families, or severity mix; service and host names are invented.

Generated by generation/observability.py. Free for any use, no attribution required — license.