• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

graphprotocol / indexer-rs / 14719596705
64%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2025 11:15PM UTC
Jobs 1
Files 90
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Apr 2025 11:04PM UTC coverage: 73.05% (-1.0%) from 74.037%
14719596705

push

github

web-flow
Add Profiling Support for Indexer/tap-agent services (#704)

* feat(docker): Add continuous profiling with embedded pprof and external tools

- Embedded continuous profiling using pprof in Rust code
- External tools: flamegraph, valgrind, callgrind, strace
- Docker support for all profiling methods
- Just commands for easy profiling management

Flamegraphs and profiles are saved to contrib/profiling/output.

* feat(indexer): Integrate pprof tool into service binary

* feat(gitignore): Ignore profiling files

* feat(profiling): Integrate profiling into tap-agent service

* feat(profiling): Integrate pprof into tap-agent binary

* refactor(profiling): extract profiling into dedicated crate

Move duplicated profiling functionality from multiple crates into a single
shared 'profiler' crate.

Key changes:
- Create new 'profiler' crate with optimized implementation
- Use AtomicU64 instead of Mutex for snapshot counter
- Add proper error handling with thiserror
- Ensure proper directory structure for profiling output
- Make profiling opt-in via a feature flag

* fix(profiler): Add missing script to setup profiling

* fix(docker): Fix base image for profiling

* fix(justfile): Add tap-agent

* chore(cargo): Add debug symbols comment

* chore(cargo): Add comment to enable debug symbols

* feat(profiler): Use human readable date/time

* feat(profiler): Enable other callgrind options

* chore(code): Some cleanups

* feat(profiler): Add profiling instructions

* fix(profiler): Fix doctest documentation in profiler

* fix(test): Disable profiling in cargo test

0 of 161 new or added lines in 3 files covered. (0.0%)

8766 of 12000 relevant lines covered (73.05%)

733.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
14
0.0
0.0% crates/tap-agent/src/main.rs
17
0.0
0.0% crates/service/src/main.rs
130
0.0
crates/profiler/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 14719596705.1 28 Apr 2025 11:15PM UTC 90
73.05
GitHub Action Run
Source Files on build 14719596705
  • Tree
  • List 90
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14719596705
  • efbf7fce on github
  • Prev Build on main (#14718391259)
  • Next Build on main (#14720192215)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc