Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodSpeedHQ/codspeed
/ functions
Functions
1,061 in github.com/CodSpeedHQ/codspeed
⨍
Functions
1,061
◇
Types & classes
222
↓ 1 callers
Function
normalize_object_paths
(objects_path_to_ignore: &mut [String])
src/executor/valgrind/helpers/ignored_objects_path.rs:50
↓ 1 callers
Method
on_ping
(&mut self)
src/executor/wall_time/profiler/perf/mod.rs:206
↓ 1 callers
Method
on_start_profiler
(&mut self)
src/executor/wall_time/profiler/perf/mod.rs:198
↓ 1 callers
Method
on_stop_profiler
(&mut self)
src/executor/wall_time/profiler/perf/mod.rs:202
↓ 1 callers
Function
parse_for_memmap2
Parse the perf file at `perf_file_path` and look for MMAP2 records for the given `pids`. If the pids filter is empty, all MMAP2 records will be parsed
src/executor/wall_time/profiler/perf/parse_perf_file.rs:25
↓ 1 callers
Function
parse_sysctl_value
(output: &str)
src/executor/wall_time/profiler/linux_sysctl.rs:39
↓ 1 callers
Method
perf_event_attr
The `perf_event_attr` `(type, config)` encoding backing this slot on the current CPU.
crates/runner-shared/src/perf_event.rs:65
↓ 1 callers
Function
perform_with_valgrind
Executes the given benchmark commands using a preload based trick to handle valgrind control. This function is only supported on Unix-like platforms,
crates/exec-harness/src/analysis/mod.rs:44
↓ 1 callers
Method
persist_log_to_profile_folder
(&self, profile_folder: &Path)
src/cli/run/logger.rs:36
↓ 1 callers
Method
pids
(&self)
src/executor/wall_time/profiler/perf/loaded_module.rs:31
↓ 1 callers
Method
ping
(&mut self)
src/executor/wall_time/profiler/perf/fifo.rs:34
↓ 1 callers
Function
poll_compare_runs
( api_client: &CodSpeedAPIClient, upload_result: &UploadResult, base_run_id: &str, )
src/upload/poll_results.rs:124
↓ 1 callers
Function
poll_local_run
( api_client: &CodSpeedAPIClient, upload_result: &UploadResult, )
src/upload/poll_results.rs:106
↓ 1 callers
Function
poll_results
( api_client: &CodSpeedAPIClient, upload_result: &UploadResult, options: &PollResultsOptions, )
src/upload/poll_results.rs:41
↓ 1 callers
Function
poll_until_processed
Poll using `fetch` until `get_status` returns neither Pending nor Processing, then return the response or an error if the status is Failure or polling
src/upload/poll_results.rs:80
↓ 1 callers
Function
prefix
Return Homebrew's install prefix (`/opt/homebrew` on Apple Silicon, `/usr/local` on Intel). Shells out to `brew --prefix` rather than hardcoding so we
src/executor/helpers/homebrew.rs:24
↓ 1 callers
Function
print_authentication_section
(has_token: bool, session: Option<&SessionPayload>)
src/cli/auth.rs:229
↓ 1 callers
Function
print_record
Print a log record to the console with the appropriate style
src/local_logger/mod.rs:225
↓ 1 callers
Function
print_repository_section
Render the repository section. Returns whether the local-runs fallback warning should be printed.
src/cli/auth.rs:262
↓ 1 callers
Method
privilege_status
Report whether the elevated privileges this executor needs are in place. Defaults to `None` for executors that need none. Only consulted once the tool
src/executor/mod.rs:119
↓ 1 callers
Function
process_mmap2_record
Process a single MMAP2 record and add it to the symbols and unwind data maps
src/executor/wall_time/profiler/perf/parse_perf_file.rs:212
↓ 1 callers
Method
profile
(&self, profile_name: &str)
src/config.rs:282
↓ 1 callers
Method
profiles
(&self)
src/config.rs:278
↓ 1 callers
Method
push_lines
(&mut self, text: &str)
src/local_logger/rolling_buffer/mod.rs:92
↓ 1 callers
Method
raw_cache_config
(&self)
crates/runner-shared/src/perf_event.rs:86
↓ 1 callers
Function
read_commands_from_stdin
Read and parse benchmark commands from stdin as JSON
crates/exec-harness/src/lib.rs:42
↓ 1 callers
Method
redraw
(&mut self)
src/local_logger/rolling_buffer/mod.rs:254
↓ 1 callers
Method
redraw_title
Redraw only the title line (for spinner animation ticks).
src/local_logger/rolling_buffer/mod.rs:240
↓ 1 callers
Function
register_paths
Pre-register all paths from the mounted modules map.
src/executor/wall_time/profiler/perf/save_artifacts.rs:75
↓ 1 callers
Function
register_shell_session_mode
Register the active runner mode(s) for the current shell session.
src/runner_mode.rs:19
↓ 1 callers
Function
register_shell_session_profile
Persist `profile_name` as the active profile for the current shell session.
src/config.rs:15
↓ 1 callers
Function
relative_address_base
The "relative address base" is the base address which [`LookupAddress::Relative`] addresses are relative to. You start with an SVMA (a stated virtual
src/executor/wall_time/profiler/perf/elf_helper.rs:167
↓ 1 callers
Method
render_finished_frame
Render the finished frame (checkmark title instead of spinner).
src/local_logger/rolling_buffer/mod.rs:194
↓ 1 callers
Function
requires_isolation
Whether the benchmark must run inside the privileged systemd scope, which in turn requires the profiler itself to record under elevated privileges. W
src/executor/wall_time/isolation.rs:19
↓ 1 callers
Function
resolve_auth_status
Resolve the session and (when a git remote is detected) the repository overview.
src/cli/auth.rs:192
↓ 1 callers
Function
resolve_executable
Resolve executable name to its full path using PATH lookup.
crates/exec-harness/src/analysis/ld_preload_check.rs:31
↓ 1 callers
Method
resolve_profile_folder
Resolve the profile folder for a given run part. - Single run part + user-specified folder: use as-is - Multiple run parts + user-specified folder: `
src/executor/orchestrator.rs:182
↓ 1 callers
Function
restore_from_cache
Restore cached tools from the cache directory to the root filesystem
src/executor/helpers/apt.rs:117
↓ 1 callers
Function
retrieve_upload_data
( orchestrator: &Orchestrator, api_client: &CodSpeedAPIClient, upload_metadata: &UploadMetadata, )
src/upload/uploader.rs:128
↓ 1 callers
Function
run
()
src/cli/mod.rs:132
↓ 1 callers
Function
run_executor
Run a single executor: setup → run → teardown → persist logs. Does NOT upload.
src/executor/mod.rs:156
↓ 1 callers
Function
run_with_profiler
Drive a single benchmark run through a [`Profiler`]: wrap the command, spawn it, dispatch FIFO commands from the integration into the profiler's hooks
src/executor/wall_time/executor.rs:260
↓ 1 callers
Function
sample_stdev
Calculate sample standard deviation (n-1 denominator). This is intended to match pytest-codspeed's computation, which uses python's statistics.stdev
crates/runner-shared/src/walltime_results/stats.rs:108
↓ 1 callers
Function
save_artifacts
Save all artifacts (symbols, debug info, unwind data) from mounted modules and JIT data.
src/executor/wall_time/profiler/perf/save_artifacts.rs:24
↓ 1 callers
Function
save_debug_info
Compute debug info from symbols and build per-pid debug info mappings.
src/executor/wall_time/profiler/perf/save_artifacts.rs:128
↓ 1 callers
Function
save_symbols
Save deduplicated symbol files to disk and build per-pid mappings.
src/executor/wall_time/profiler/perf/save_artifacts.rs:85
↓ 1 callers
Function
save_symbols_and_harvest_unwind_data_for_pids
Converts all the `jit-<pid>.dump` into a perf-<pid>.map with symbols, and collects the unwind data # Symbols Since a jit dump is by definition specif
src/executor/wall_time/profiler/perf/jit_dump.rs:117
↓ 1 callers
Function
save_to_cache
Save installed packages to the cache directory
src/executor/helpers/apt.rs:175
↓ 1 callers
Method
save_to_file
(&self, profile_folder: P)
crates/runner-shared/src/walltime_results/mod.rs:17
↓ 1 callers
Method
save_to_keyed_file
Save symbols (at raw ELF addresses, no bias) to a keyed file.
src/executor/wall_time/profiler/perf/module_symbols.rs:211
↓ 1 callers
Function
save_unwind_data
Save deduplicated unwind data files to disk and build per-pid mappings, including JIT unwind data.
src/executor/wall_time/profiler/perf/save_artifacts.rs:180
↓ 1 callers
Method
search_patterns
Build glob patterns for finding this allocator's shared libraries.
crates/memtrack/src/allocators/dynamic.rs:6
↓ 1 callers
Function
select_profiler
(profiler_override: Option<WalltimeProfiler>)
src/executor/wall_time/executor.rs:92
↓ 1 callers
Method
selected_profile_name
(&self)
src/config.rs:274
↓ 1 callers
Function
send_streamed_with_retry
The retry middleware can't replay a consumed stream, so we rebuild the body from disk on each attempt. Response-level errors (4xx/5xx) are left for th
src/upload/uploader.rs:191
↓ 1 callers
Function
set
( config_name: Option<&str>, profile_name: &str, api_url: Option<String>, upload_url: Option<S
src/cli/profile.rs:103
↓ 1 callers
Method
set_integration
(&self, name: &str, version: &str)
crates/instrument-hooks-bindings/src/mod.rs:68
↓ 1 callers
Method
set_integration
(&self, name: &str, version: &str)
crates/instrument-hooks-bindings/src/lib.rs:70
↓ 1 callers
Method
set_oidc_token
Request the OIDC token from GitHub Actions if necessary. All the validation has already been performed in `check_oidc_configuration`. So if the oidc_
src/run_environment/github_actions/provider.rs:347
↓ 1 callers
Method
set_token
Replace the token this client uses for authenticated GraphQL requests and that the uploader pulls for its `Authorization` header. The single mutation
src/api_client.rs:56
↓ 1 callers
Function
setup
(modes: &[RunnerMode], setup_cache_dir: Option<&Path>)
src/cli/setup.rs:57
↓ 1 callers
Method
setup
( &self, _system_info: &SystemInfo, _setup_cache_dir: Option<&Path>, )
src/executor/mod.rs:128
↓ 1 callers
Function
setup_executor
Set up a single executor based on its support level on the current system. Unsupported executors or executors that require manual installation are sk
src/cli/setup.rs:73
↓ 1 callers
Method
sha256
(self)
src/binary_pins.rs:93
↓ 1 callers
Function
show
(config_name: Option<&str>, profile_name: Option<&str>)
src/cli/profile.rs:76
↓ 1 callers
Method
spinner_tick
(&self)
src/local_logger/rolling_buffer/mod.rs:105
↓ 1 callers
Method
start
(&mut self)
src/instruments/mongo_tracer.rs:120
↓ 1 callers
Method
start_events
(&mut self)
src/executor/wall_time/profiler/perf/fifo.rs:20
↓ 1 callers
Method
start_polling_with_channel
Start polling with an mpsc channel for events
crates/memtrack/src/ebpf/memtrack.rs:457
↓ 1 callers
Function
status
(modes: &[RunnerMode])
src/cli/setup.rs:105
↓ 1 callers
Method
stop
(&mut self)
src/instruments/mongo_tracer.rs:169
↓ 1 callers
Method
stop_events
(&mut self)
src/executor/wall_time/profiler/perf/fifo.rs:27
↓ 1 callers
Function
submit_alloc_event
Helper to submit an allocation event (malloc, calloc) */
crates/memtrack/src/ebpf/c/memtrack.bpf.c:165
↓ 1 callers
Function
submit_calloc_event
Helper to submit a calloc event */
crates/memtrack/src/ebpf/c/memtrack.bpf.c:181
↓ 1 callers
Function
submit_free_event
Helper to submit a free event */
crates/memtrack/src/ebpf/c/memtrack.bpf.c:189
↓ 1 callers
Function
submit_realloc_event
Helper to submit a realloc event with both old and new addresses */
crates/memtrack/src/ebpf/c/memtrack.bpf.c:194
↓ 1 callers
Function
suppress_go_perf_unwinding_warning
Set the env variable to not warn users about Go's perf unwinding mode when running Go benchmarks
src/executor/helpers/env.rs:73
↓ 1 callers
Function
symlink_libpython
(cwd: Option<&String>)
src/executor/valgrind/helpers/venv_compat.rs:21
↓ 1 callers
Function
sysctl_read
(name: &str)
src/executor/wall_time/profiler/linux_sysctl.rs:31
↓ 1 callers
Method
teardown
(&self, execution_context: &ExecutionContext)
src/executor/memory/executor.rs:179
↓ 1 callers
Method
to_cli_args
Convert WalltimeExecutionArgs back to CLI argument strings Unfortunately, clap does not provide a built-in way to serialize args back to CLI format,
crates/exec-harness/src/walltime/config.rs:85
↓ 1 callers
Method
to_samply_spec
The `<name>:<type>:<config>` spec for samply's `--perf-events`, resolving this slot to a concrete PMU event of the CPU we are running on. `None` when
crates/runner-shared/src/perf_event.rs:53
↓ 1 callers
Function
tokenize
Split a command string into tokens on whitespace and shell operators, extracting the file name from each token (stripping directory paths).
src/executor/helpers/detect_executable.rs:8
↓ 1 callers
Method
tool_status
(&self)
src/executor/memory/executor.rs:103
↓ 1 callers
Function
track_binary
(binary: &Path)
crates/memtrack/tests/shared.rs:169
↓ 1 callers
Function
track_command
( cmd_string: &str, ipc_server_name: Option<String>, out_dir: &Path, )
crates/memtrack/src/main.rs:72
↓ 1 callers
Method
truncated_count
(&self)
src/local_logger/rolling_buffer/mod.rs:101
↓ 1 callers
Method
upload_all
( &self, completed_runs: &mut [(ExecutionContext, ExecutorName)], api_client: &mut Cod
src/executor/orchestrator.rs:248
↓ 1 callers
Method
upload_and_poll
Upload completed runs and poll results.
src/executor/orchestrator.rs:205
↓ 1 callers
Function
use_profile
(config_name: Option<&str>, profile_name: &str)
src/cli/profile.rs:126
↓ 1 callers
Function
validate_sudo_access
Validate sudo access, prompting the user for their password if necessary
src/executor/helpers/run_with_sudo.rs:47
↓ 1 callers
Method
version
(&self)
src/system/os.rs:46
↓ 1 callers
Function
vfs_cap_data_v2
Build a `VFS_CAP_REVISION_2` xattr value granting `caps` in the permitted set.
src/executor/helpers/capabilities.rs:52
↓ 1 callers
Function
warn_missing_libc_debug_info
(path: &Path)
src/executor/wall_time/profiler/perf/debug_info.rs:137
↓ 1 callers
Method
with_suffix
Returns a new `RunPart` with the given suffix appended to `run_part_id`. The suffix is a structured key-value map that gets: - serialized as JSON and
src/run_environment/interfaces.rs:122
↓ 1 callers
Method
with_token
Returns a client that uses `token` for authentication, regardless of the token this client was built with.
src/api_client.rs:40
↓ 1 callers
Method
wrap_command
( &mut self, mut cmd_builder: CommandBuilder, config: &ExecutorConfig, profile
src/executor/wall_time/profiler/perf/mod.rs:89
↓ 1 callers
Function
wrap_isolation_scope
(mut bench_cmd: CommandBuilder)
src/executor/wall_time/isolation.rs:57
↓ 1 callers
Function
wrap_with_exec_harness
( walltime_args: &exec_harness::walltime::WalltimeExecutionArgs, command: &[String], )
src/executor/tests.rs:341
Method
ack_path
(&self)
src/executor/shared/fifo.rs:63
← previous
next →
401–500 of 1,061, ranked by callers