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
confirm_bash_install
()
src/executor/wall_time/profiler/samply/mod.rs:241
↓ 1 callers
Method
consume_login_session
( &self, session_id: &str, )
src/api_client.rs:466
↓ 1 callers
Function
create_env_file
(extra_env: &HashMap<String, String>)
src/executor/helpers/run_with_env.rs:53
↓ 1 callers
Method
create_login_session
(&self)
src/api_client.rs:455
↓ 1 callers
Function
create_profile_archive
Create a profile archive from the profile folder and return its md5 hash encoded in base64 For Valgrind, we create a gzip-compressed tar archive of t
src/upload/uploader.rs:60
↓ 1 callers
Function
create_sample_v2
()
crates/runner-shared/src/unwind_data.rs:315
↓ 1 callers
Function
create_sample_v3
()
crates/runner-shared/src/unwind_data.rs:329
↓ 1 callers
Function
create_spinner
Create a styled spinner progress bar with CodSpeed branding.
src/local_logger/mod.rs:317
↓ 1 callers
Function
deactivate_rolling_buffer
Finish and deactivate the current rolling buffer.
src/local_logger/rolling_buffer/mod.rs:325
↓ 1 callers
Function
debug_info_by_path
Compute debug info once per unique ELF path from deduplicated symbols. Returns a map of path -> ModuleDebugInfo with `load_bias: 0` (load bias is per-
src/executor/wall_time/profiler/perf/debug_info.rs:154
↓ 1 callers
Function
default_api_url
()
src/config.rs:115
↓ 1 callers
Function
default_profile_name
()
src/config.rs:111
↓ 1 callers
Function
default_upload_url
()
src/config.rs:119
↓ 1 callers
Function
detect_repository
Detect the repository from the git remote of the current directory
src/cli/auth.rs:139
↓ 1 callers
Method
disable_tracking
Disable event tracking
crates/memtrack/src/ebpf/memtrack.rs:250
↓ 1 callers
Function
display_comparison_results
( upload_result: &UploadResult, options: &PollResultsOptions, response: CompareRunsResponse, )
src/upload/poll_results.rs:241
↓ 1 callers
Function
display_single_run_results
( upload_result: &UploadResult, options: &PollResultsOptions, response: FetchLocalRunResponse, )
src/upload/poll_results.rs:158
↓ 1 callers
Function
download_file
(url: &Url, path: &Path)
src/cli/run/helpers/download_file.rs:7
↓ 1 callers
Method
dropped_events_count
Number of events the kernel dropped because the ring buffer was full. A non-zero value means the resulting trace is incomplete.
crates/memtrack/src/ebpf/tracker.rs:110
↓ 1 callers
Function
dump_valgrind_logs
Dumps every per-process `valgrind.<pid>.log` in the folder to help debug a failure.
src/executor/valgrind/measure.rs:95
↓ 1 callers
Method
enable_tracking
Enable event tracking
crates/memtrack/src/ebpf/memtrack.rs:216
↓ 1 callers
Method
enabled
(&self, metadata: &log::Metadata)
src/local_logger/mod.rs:82
↓ 1 callers
Method
encode_to_writer
(&self, mut writer: W)
crates/runner-shared/src/artifacts/mod.rs:35
↓ 1 callers
Method
encompasses_file_range
(&self, runtime_file_offset: u64, mapping_size: u64)
src/executor/wall_time/profiler/perf/elf_helper.rs:28
↓ 1 callers
Function
ensure_brew_available
Fail unless `brew` is on `PATH`. We intentionally do not install Homebrew ourselves — that's too invasive a side effect for a profiler setup step.
src/executor/helpers/homebrew.rs:10
↓ 1 callers
Function
execute_benchmarks
Execute benchmark commands
crates/exec-harness/src/lib.rs:69
↓ 1 callers
Function
extract_pid_from_profile_file
Extracts a PID from a profile output file path. Supports both Callgrind (`<pid>.out`) and Tracegrind (`<pid>.tgtrace`) file formats.
src/executor/valgrind/helpers/perf_maps.rs:10
↓ 1 callers
Function
extract_preload_lib
Extracts the preload library to a temp file.
crates/exec-harness/src/analysis/preload_lib_file.rs:21
↓ 1 callers
Function
extract_rounds_from_config
Extract rounds directly from config (used when warmup is disabled)
crates/exec-harness/src/walltime/benchmark_loop.rs:250
↓ 1 callers
Function
extract_time_constraints
Extract time constraints from config for stop conditions
crates/exec-harness/src/walltime/benchmark_loop.rs:262
↓ 1 callers
Method
fetch_local_run
(&self, vars: FetchLocalRunVars)
src/api_client.rs:510
↓ 1 callers
Method
finalize
( &self, fifo_data: &FifoBenchmarkData, timestamps: &ExecutionTimestamps, prof
src/executor/wall_time/profiler/perf/mod.rs:210
↓ 1 callers
Function
find_binaries_in_dir
(dir: &Path)
crates/memtrack/src/allocators/static_linked.rs:84
↓ 1 callers
Function
find_build_dirs
Walk upward and downward from current directory to find build directories. Returns all found build directories in order of preference.
crates/memtrack/src/allocators/static_linked.rs:22
↓ 1 callers
Function
find_debug_file_by_build_id
Tries to find a debug file using the build-id. ## How it works For build-id a05cfb6313fe06a13c9b4b5cb86c2069faa3951f, the debug file lives at: ```te
src/executor/wall_time/profiler/perf/elf_helper.rs:240
↓ 1 callers
Function
find_debug_file_by_debuglink
( object: &object::File, binary_path: &Path, debug_dir: &Path, )
src/executor/wall_time/profiler/perf/elf_helper.rs:262
↓ 1 callers
Function
flush_deferred_logs
Flush all log records that were deferred while the rolling buffer was active. Each line is cleared before writing to avoid leftover characters from th
src/local_logger/mod.rs:274
↓ 1 callers
Function
format_checkmark
Format a completion checkmark with a label.
src/local_logger/mod.rs:180
↓ 1 callers
Function
format_duration_to_exponent
(val: f64, exponent: i32, fraction_digits: usize)
src/cli/run/helpers/format_duration.rs:19
↓ 1 callers
Function
format_elapsed
Format elapsed duration in a compact human-readable way
src/local_logger/mod.rs:194
↓ 1 callers
Function
format_group_header
Format a group header with styled prefix
src/local_logger/mod.rs:171
↓ 1 callers
Function
format_log
Format a log entry with the appropriate style for its level.
src/local_logger/mod.rs:237
↓ 1 callers
Function
generate_events
Generate N random memtrack events with a seeded RNG
crates/runner-shared/benches/memtrack_writer.rs:11
↓ 1 callers
Method
get_active_instrument_names
(&self)
src/instruments/mod.rs:31
↓ 1 callers
Function
get_all_executors
()
src/executor/mod.rs:61
↓ 1 callers
Function
get_codspeed_valgrind_binary
(system_info: &SystemInfo)
src/executor/valgrind/setup.rs:46
↓ 1 callers
Method
get_command_builder
Build a [`CommandBuilder`] that re-execs the current binary into this internal subcommand. Each variant owns its own arg layout.
src/cli/mod.rs:118
↓ 1 callers
Method
get_commit_hash
Returns the HEAD commit hash of the repository at the given path.
src/run_environment/provider.rs:151
↓ 1 callers
Function
get_compression_flags
(perf_executable: S)
src/executor/wall_time/profiler/perf/perf_executable.rs:119
↓ 1 callers
Function
get_cpu_flags
()
src/system/info.rs:64
↓ 1 callers
Method
get_current_dir
(&self)
src/executor/helpers/command.rs:80
↓ 1 callers
Function
get_event_flags
Detects if the required perf events are available on this system. Returns the flags to pass to perf record command if they are available, otherwise re
src/executor/wall_time/profiler/perf/perf_executable.rs:71
↓ 1 callers
Function
get_exported_system_env
Returns a list of exported environment variables which can be loaded with `source` in a shell. Example: `declare -x outputs="out"`
src/executor/helpers/run_with_env.rs:13
↓ 1 callers
Method
get_logger
(&self)
src/run_environment/local/provider.rs:341
↓ 1 callers
Function
get_memtrack_status
()
src/executor/memory/setup.rs:96
↓ 1 callers
Function
get_nearest_exponent
(val: f64)
src/cli/run/helpers/format_duration.rs:1
↓ 1 callers
Function
get_node_objects
()
src/executor/valgrind/helpers/ignored_objects_path.rs:28
↓ 1 callers
Method
get_or_create_project_repository
( &self, vars: GetOrCreateProjectRepositoryVars, )
src/run_environment/local/provider.rs:413
↓ 1 callers
Function
get_perf_status
()
src/executor/wall_time/profiler/perf/setup.rs:11
↓ 1 callers
Function
get_preload_lib_path
Returns the path to the preload library, extracting it to a temp file if needed.
crates/exec-harness/src/analysis/preload_lib_file.rs:39
↓ 1 callers
Function
get_provider
( config: &OrchestratorConfig, api_client: &CodSpeedAPIClient, )
src/run_environment/mod.rs:24
↓ 1 callers
Function
get_python_objects
()
src/executor/valgrind/helpers/ignored_objects_path.rs:4
↓ 1 callers
Function
get_ref
()
src/run_environment/buildkite/provider.rs:43
↓ 1 callers
Method
get_repository_provider
(&self)
src/run_environment/local/provider.rs:337
↓ 1 callers
Method
get_run_environment_metadata
(&self)
src/run_environment/buildkite/provider.rs:131
↓ 1 callers
Function
get_run_event
()
src/run_environment/buildkite/provider.rs:33
↓ 1 callers
Function
get_unit_index
(bytes: f64)
src/cli/run/helpers/format_memory.rs:4
↓ 1 callers
Method
get_upload_metadata
Returns the metadata necessary for uploading results to CodSpeed. `orchestrator_run_part_suffix` is structured data from the orchestrator used to dif
src/run_environment/provider.rs:107
↓ 1 callers
Function
get_user
()
src/system/info.rs:9
↓ 1 callers
Function
get_user_uid_gid
Get the original user's UID and GID when running under sudo. Returns None if not running under sudo or if the environment variables are not set.
crates/memtrack/src/main.rs:42
↓ 1 callers
Function
get_valgrind_status
()
src/executor/valgrind/setup.rs:92
↓ 1 callers
Function
handle_ipc_message
(msg: IpcMessage, tracker: &std::sync::Arc<std::sync::Mutex<Tracker>>)
crates/memtrack/src/ipc.rs:88
↓ 1 callers
Function
harvest_perf_maps
(profile_folder: &Path)
src/executor/valgrind/helpers/perf_maps.rs:18
↓ 1 callers
Function
init_local_logger
()
src/local_logger/mod.rs:310
↓ 1 callers
Function
install_memtrack
()
src/executor/memory/setup.rs:159
↓ 1 callers
Function
install_mongodb_tracer
()
src/instruments/mongo_tracer.rs:229
↓ 1 callers
Function
install_perf
(system_info: &SystemInfo, setup_cache_dir: Option<&Path>)
src/executor/wall_time/profiler/perf/setup.rs:38
↓ 1 callers
Function
install_valgrind
( system_info: &SystemInfo, setup_cache_dir: Option<&Path>, )
src/executor/valgrind/setup.rs:194
↓ 1 callers
Method
into_perf_map
(self)
src/executor/wall_time/profiler/perf/jit_dump.rs:19
↓ 1 callers
Method
into_unwind_data
Parses the JIT dump file and converts it into deduplicated unwind data + pid mappings. The JIT dump file contains synthetic `eh_frame` data for jitte
src/executor/wall_time/profiler/perf/jit_dump.rs:49
↓ 1 callers
Function
is_codspeed_valgrind_installation_supported
(system_info: &SystemInfo)
src/executor/valgrind/setup.rs:52
↓ 1 callers
Function
is_compatible
Check if an installed version is compatible with the expected version. Returns true if the installed version is greater than or equal to the expected
src/binary_installer/versions.rs:23
↓ 1 callers
Method
is_encompassed_by_file_range
( &self, runtime_file_offset: u64, mapping_size: u64, )
src/executor/wall_time/profiler/perf/elf_helper.rs:33
↓ 1 callers
Method
is_exec_harness
(&self)
src/executor/shared/fifo.rs:75
↓ 1 callers
Function
is_free_threaded_python
Checks if the Python interpreter supports free-threaded mode. Returns true if Python is free-threaded (GIL disabled), false otherwise.
src/executor/valgrind/helpers/python.rs:5
↓ 1 callers
Function
is_genuine_intel
()
crates/runner-shared/src/perf_event.rs:138
↓ 1 callers
Function
is_libc_filename
(file_name: &str)
src/executor/wall_time/profiler/perf/debug_info.rs:133
↓ 1 callers
Function
is_package_installed
Returns whether a package is currently installed according to `dpkg`.
src/executor/helpers/apt.rs:91
↓ 1 callers
Method
is_supported
Whether this distribution has first-class support (auto-install via apt, prebuilt .debs, etc.).
src/system/os.rs:120
↓ 1 callers
Function
is_valgrind_installed
(system_info: &SystemInfo)
src/executor/valgrind/setup.rs:176
↓ 1 callers
Method
level
(&self)
src/run_environment/buildkite/logger.rs:90
↓ 1 callers
Method
level
(&self)
src/run_environment/github_actions/logger.rs:90
↓ 1 callers
Method
level
(&self)
src/run_environment/gitlab_ci/logger.rs:153
↓ 1 callers
Function
list
(config_name: Option<&str>)
src/cli/profile.rs:58
↓ 1 callers
Function
load
Look up a previously-registered value by walking up the process tree from this process. Returns `None` if no ancestor has registered a value.
src/shell_session_store.rs:86
↓ 1 callers
Function
load_config
Load the CodSpeed config for this invocation, resolving the active profile (CLI `--profile` / `CODSPEED_PROFILE` / shell-session / built-in `default`)
src/cli/mod.rs:212
↓ 1 callers
Function
login
( api_client: &CodSpeedAPIClient, config_name: Option<&str>, mut config: CodSpeedConfig, with_
src/cli/auth.rs:55
↓ 1 callers
Function
measure
( config: &ExecutorConfig, profile_folder: &Path, mongo_tracer: &Option<MongoTracer>, )
src/executor/valgrind/measure.rs:115
↓ 1 callers
Function
memtrack_setcap_spec
`setcap` grammar form of [`MEMTRACK_REQUIRED_CAPS`]: the lowercase cap names (libcap renders them lowercase) joined with commas and the `+ep` effectiv
src/executor/memory/setup.rs:31
↓ 1 callers
Method
merge_with_project_config
Merge CLI args with project config if available CLI arguments take precedence over config values.
src/cli/exec/mod.rs:40
← previous
next →
301–400 of 1,061, ranked by callers