MCPcopy Create free account

hub / github.com/CodSpeedHQ/codspeed / functions

Functions1,682 in github.com/CodSpeedHQ/codspeed

↓ 109 callersMethodpath
(&self)
src/executor/wall_time/helpers.rs:96
↓ 59 callersMethodargs
(&mut self, args: I)
src/executor/helpers/command.rs:40
↓ 58 callersMethodlen
(&self)
crates/memtrack/src/ebpf/memtrack/fd_holder.rs:200
↓ 57 callersMethodarg
(&mut self, arg: S)
src/executor/helpers/command.rs:35
↓ 44 callersFunctionwrite
(path: &Path, batches: &[&[R]])
crates/runner-shared/src/telemetry/tests.rs:89
↓ 42 callersMethodis_empty
(&self)
src/config.rs:31
↓ 30 callersMethodas_str
(self)
src/binary_pins.rs:50
↓ 22 callersMethodnext
Ends at the end of the artifact, or after the first error, such as an artifact cut in the middle of a row.
crates/runner-shared/src/telemetry/mod.rs:222
↓ 20 callersMethodparse
Parse an attach request from raw ring buffer bytes. SAFETY: The data must be a valid `bindings::attach_request`
crates/memtrack/src/ebpf/events.rs:186
↓ 18 callersMethodbuild
(mut bpf: MemtrackBpf, options: TrackerOptions)
crates/memtrack/src/ebpf/tracker.rs:102
↓ 17 callersMethodcurrent_dir
(&mut self, dir: D)
src/executor/helpers/command.rs:73
↓ 14 callersFunctionread
(path: &Path)
src/instruments/otel/artifacts.rs:154
↓ 13 callersMethodis_empty
(&self)
crates/memtrack/src/ebpf/memtrack/fd_holder.rs:204
↓ 13 callersFunctionrun_rounds
( bench_uri: String, command: Vec<String>, config: &ExecutionOptions, )
crates/exec-harness/src/walltime/benchmark_loop.rs:9
↓ 13 callersMethodspawn
Spawn `cmd` under tracking: the target is wrapped so it stops itself before exec'ing, its pid is armed while stopped, then it is resumed. When the tra
crates/memtrack/src/ebpf/tracker.rs:131
↓ 13 callersFunctionvalidate_walltime_results
Validates that walltime results exist and contain at least one benchmark. When `allow_empty` is true, empty benchmark results are allowed.
src/executor/wall_time/helpers.rs:15
↓ 12 callersMethodenv
(&mut self, key: K, value: V)
src/executor/helpers/command.rs:51
↓ 12 callersFunctionget_env_variable
(name: &str)
src/cli/run/helpers/get_env_var.rs:5
↓ 10 callersFunctionrun_with_sudo
Run a command with sudo after validating sudo access
src/executor/helpers/run_with_sudo.rs:131
↓ 10 callersFunctiontrack_command
(command: Command, options: impl Into<Option<TrackerOptions>>)
crates/memtrack/tests/shared.rs:211
↓ 10 callersMethodwait
Wait for the tracked process to exit.
crates/memtrack/src/session.rs:51
↓ 10 callersFunctionwrite_rss_report
crates/memtrack/testdata/rss/rss_report.h:54
↓ 9 callersMethodbuild
(self)
src/executor/helpers/command.rs:25
↓ 9 callersFunctioncompute_load_bias
( object: &object::File, runtime_start_addr: u64, runtime_end_addr: u64, runtime_file_offset:
src/executor/shared/module_artifacts/elf_helper.rs:41
↓ 9 callersMethodid
The distro/OS id as it appears on the wire (matches `sysinfo::System::distribution_id()`).
src/system/os.rs:44
↓ 8 callersMethodfile_name
(sequence: u64, signal: Signal, encoding: Encoding)
src/instruments/otel/receiver.rs:148
↓ 8 callersFunctionis_tracked
crates/memtrack/src/ebpf/c/utils/process_tracking.h:11
↓ 8 callersMethodread
(map: &impl libbpf_rs::MapCore)
crates/memtrack/src/ebpf/stacks.rs:14
↓ 8 callersMethodremove
Removes the stored requests.
src/instruments/otel/receiver.rs:125
↓ 8 callersMethodwrap
(&mut self, wrapper: S, wrapper_args: I)
src/executor/helpers/command.rs:88
↓ 7 callersMethodacquire
Sets the mode up once, then holds what its runs can't share.
tests/executors.rs:104
↓ 7 callersFunctionclassify_valgrind_version
Classify a trimmed `valgrind --version` output against the pinned CodSpeed valgrind version.
src/executor/valgrind/setup.rs:184
↓ 7 callersFunctioncodspeed_cmd
(cwd: &Path)
tests/working_directory.rs:18
↓ 7 callersFunctioncompile_c_source
( source_code: &str, name: &str, output_dir: &Path, )
crates/memtrack/tests/shared.rs:190
↓ 7 callersFunctiondownload_and_verify
(url: &Url, expected_sha256: &str, path: &Path)
src/cli/run/helpers/download_file.rs:87
↓ 7 callersMethodfinish
Finish writing, flush the compression stream, and return the sink
crates/runner-shared/src/artifacts/memtrack/writer.rs:27
↓ 7 callersMethodget_run_provider_run_part
For Github, the run environment run part is the most complicated since we support matrix jobs. Computing the `run_part_id`: - not in a matrix: - simp
src/run_environment/github_actions/provider.rs:211
↓ 7 callersMethodname
(&self)
src/executor/memory/executor.rs:114
↓ 7 callersFunctionread
(artifact: &[u8])
crates/runner-shared/benches/telemetry.rs:21
↓ 7 callersMethodtoken
(&self)
src/api_client.rs:44
↓ 7 callersFunctionwrite_cwd_check_script
Create a bash script that validates CWD matches the expected absolute path.
tests/working_directory.rs:26
↓ 7 callersMethodwrite_json_file
(&self, filename: &str, content: &str)
src/executor/wall_time/helpers.rs:108
↓ 6 callersFunctionencode_events
Encode a stream of events into a single compressed artifact stream, compressing frames in parallel across a Rayon pool of `n_workers` threads. Events
crates/runner-shared/src/artifacts/memtrack/pipeline.rs:33
↓ 6 callersMethodenvs
(&mut self, vars: I)
src/executor/helpers/command.rs:61
↓ 6 callersFunctionfind_repository_root
(base_dir: &Path)
src/cli/run/helpers/find_repository_root.rs:8
↓ 6 callersFunctionparse_valgrind_codspeed_version
Parse a valgrind version string and extract the upstream semver plus the optional CodSpeed iteration number. Accepted formats: - `valgrind-3.25.1.cod
src/executor/valgrind/setup.rs:112
↓ 6 callersMethodsave_to
( &self, path: &Path, perf_file_path: &Path, )
src/executor/wall_time/profiler/perf/mod.rs:228
↓ 6 callersMethodsize
(&self)
src/upload/profile_archive.rs:167
↓ 6 callersFunctionsleep_cmd
Helper to create a simple sleep 100ms command
crates/exec-harness/src/walltime/tests.rs:8
↓ 6 callersFunctionspawn_scripted_server
Serve one scripted response per connection, then stop listening. Every response closes the connection so each request is a new connection, making the
src/cli/run/helpers/download_file.rs:159
↓ 6 callersFunctionupload_profile_archive
( upload_data: &UploadData, profile_archive: ProfileArchive, )
src/upload/uploader.rs:265
↓ 5 callersMethodapply_run_command_transformations
Applies the necessary transformations to the command to run the benchmark TODO: move this to a `Instrument` trait, refactor and implement it for valgr
src/instruments/mongo_tracer.rs:200
↓ 5 callersFunctionassert_load_bias
( start_addr: u64, end_addr: u64, file_offset: u64, module_path: &str,
src/executor/shared/module_artifacts/unwind_data.rs:114
↓ 5 callersFunctioncodspeed
()
tests/executors.rs:139
↓ 5 callersFunctioncurrent_task_ids
Both ids from a single helper call, for paths that need them together. */
crates/memtrack/src/ebpf/c/utils/variant.h:74
↓ 5 callersFunctionevent_bytes
(event: &bindings::event)
crates/memtrack/src/ebpf/events.rs:204
↓ 5 callersFunctionget_group_event
Returns the group event if the record is a group event, otherwise returns `None`.
src/logger.rs:67
↓ 5 callersFunctionget_json_event
(record: &log::Record)
src/logger.rs:109
↓ 5 callersFunctionindexed_semantic_key
Build a semantic key from a global index and a path. The key is `{index}__{basename}` where `basename` is the last component of the path. The index e
src/executor/shared/module_artifacts/naming.rs:7
↓ 5 callersMethodingest
Ingest text into the rolling buffer, splitting on newlines and maintaining the max_lines window.
src/local_logger/rolling_buffer/mod.rs:82
↓ 5 callersFunctionis_root_user
()
src/executor/helpers/run_with_sudo.rs:9
↓ 5 callersFunctionis_system_compatible
(system_info: &SystemInfo)
src/executor/helpers/apt.rs:9
↓ 5 callersFunctionmake_test_buffer
Create a RollingBuffer with fixed dimensions for deterministic test output.
src/local_logger/rolling_buffer/tests.rs:4
↓ 5 callersFunctionmerge_walltime_options
Merge default walltime options with target-specific overrides
src/cli/exec/multi_targets.rs:9
↓ 5 callersFunctionmigrate
Fold a [`RawConfig`] into the canonical [`PersistedConfig`], returning the upgraded persisted state and a flag indicating whether the on-disk shape ne
src/config.rs:166
↓ 5 callersFunctionmultipart_upload_data_for
(base_url: &str, part_count: usize)
src/upload/uploader.rs:668
↓ 5 callersFunctionparse_event
Parse an event from raw bytes into MemtrackEvent SAFETY: The data must be a valid `bindings::event`
crates/memtrack/src/ebpf/events.rs:19
↓ 5 callersFunctionrun
`codspeed run` up to the `--` separator. `--allow-empty`: plain scripts produce no benchmark results.
tests/executors.rs:149
↓ 5 callersMethodstop
Stops the receiver. A request is stored before it is acknowledged, so the returned requests hold everything an exited process has sent.
src/instruments/otel/receiver.rs:78
↓ 5 callersFunctiontrace_request
()
src/instruments/otel/rows.rs:293
↓ 5 callersMethodwrap_with
(&mut self, wrapper_cmd: CommandBuilder)
src/executor/helpers/command.rs:113
↓ 5 callersFunctionwrap_with_sudo
Wrap with sudo if not running as root
src/executor/helpers/run_with_sudo.rs:102
↓ 5 callersFunctionwrite_config
Write a codspeed.yml config file.
tests/working_directory.rs:43
↓ 5 callersMethodwrite_event
Write a single event to the stream
crates/runner-shared/src/artifacts/memtrack/writer.rs:38
↓ 4 callersFunctionBPF_HASH_MAP
crates/memtrack/src/ebpf/c/allocator.h:117
↓ 4 callersMethodattach_standard_probes
( &mut self, lib_path: &Path, prefixes: &[&str], suffixes: &[&str], of
crates/memtrack/src/ebpf/memtrack/allocator.rs:116
↓ 4 callersFunctionbuild_detailed_summary
(result: &FetchLocalRunBenchmarkResult)
src/upload/benchmark_display.rs:301
↓ 4 callersFunctionbuild_path_env
Build the `PATH` value with optional language introspection wrappers prepended. When `enable_introspection` is true, the Node.js and Go wrapper scrip
src/executor/helpers/env.rs:49
↓ 4 callersFunctionbuild_table_with_style
(rows: &[T], instrument: &str, icon: Icon)
src/upload/benchmark_display.rs:100
↓ 4 callersMethodcreate_results_dir
(&self)
src/executor/wall_time/helpers.rs:104
↓ 4 callersFunctioncurrent_tgid
crates/memtrack/src/ebpf/c/utils/variant.h:80
↓ 4 callersFunctioncurrent_tid
crates/memtrack/src/ebpf/c/utils/variant.h:84
↓ 4 callersFunctiondecode_lifecycle
(events: Vec<MemtrackEvent>)
src/executor/memory/module_artifacts.rs:860
↓ 4 callersMethodenable_tracking
Enable allocator-event tracking in the BPF program. Lifetime events (rss_stat, rmap, fork/exec/exit) are emitted for tracked pids regardless of this t
crates/memtrack/src/ebpf/tracker.rs:194
↓ 4 callersMethodencode_to_writer
(&self, writer: W)
crates/runner-shared/src/artifacts/memtrack/mod.rs:16
↓ 4 callersMethodflush
(&self)
src/local_logger/mod.rs:194
↓ 4 callersFunctionformat_duration
(val: f64, fraction_digits: Option<usize>)
src/cli/run/helpers/format_duration.rs:42
↓ 4 callersFunctionget_announcement_event
(record: &log::Record)
src/logger.rs:89
↓ 4 callersFunctionget_base_injected_env
( mode: RunnerMode, profile_folder: &Path, config: &ExecutorConfig, )
src/executor/helpers/env.rs:8
↓ 4 callersFunctionget_bench_command
(config: &ExecutorConfig)
src/executor/helpers/get_bench_command.rs:4
↓ 4 callersMethodget_host_port_from_uris
(&self)
src/instruments/mongo_tracer.rs:81
↓ 4 callersMethodget_run_environment
(&self)
src/run_environment/local/provider.rs:339
↓ 4 callersMethodget_run_environment_metadata
(&self)
src/run_environment/local/provider.rs:343
↓ 4 callersMethodget_run_provider_run_part
(&self)
src/run_environment/local/provider.rs:359
↓ 4 callersFunctionhas_delegated_bpf_token
Whether libbpf has a delegated BPF token to attach to its `bpf()` calls. It reads one from the bpffs mount named by `LIBBPF_BPF_TOKEN_PATH`, which is
crates/memtrack/src/bpf_token.rs:6
↓ 4 callersMethodicon
Icon for this executor.
src/executor/interfaces.rs:37
↓ 4 callersFunctioninstall
(system_info: &SystemInfo, packages: &[&str])
src/executor/helpers/apt.rs:92
↓ 4 callersMethodis_empty
(reader: R)
crates/runner-shared/src/artifacts/memtrack/mod.rs:68
↓ 4 callersMethodlabel
Human-readable label for this executor.
src/executor/interfaces.rs:27
↓ 4 callersFunctionlogs_request
()
src/instruments/otel/rows.rs:360
next →1–100 of 1,682, ranked by callers