MCPcopy Create free account

hub / github.com/CodSpeedHQ/codspeed / functions

Functions1,682 in github.com/CodSpeedHQ/codspeed

↓ 1 callersFunctionentries
Iteration is `BPF_MAP_GET_NEXT_KEY` followed by a separate lookup, so it is not atomic: a key deleted in between is skipped rather than reported.
crates/memtrack/src/ebpf/memtrack/maps.rs:135
↓ 1 callersFunctionenv_check_script
(name: &str, expected: &str)
tests/executors.rs:164
↓ 1 callersMethodenv_names
(&self)
src/executor/helpers/command.rs:84
↓ 1 callersFunctionescape_multiline_message
Escapes newlines in a message for GitHub Actions logging. GitHub Actions requires newlines to be replaced with `%0A` to be interpreted correctly. See
src/run_environment/github_actions/logger.rs:110
↓ 1 callersFunctionevent_profile
Frees count only when they release an allocation the run saw: glibc's `free` can re-enter itself on a thread's first free (lazy tcache init), so one c
crates/memtrack/tests/shared.rs:274
↓ 1 callersFunctionexec_target
(command: &[&str], name: Option<&str>)
src/cli/exec/mod.rs:197
↓ 1 callersFunctionexecute_benchmarks
Execute benchmark commands
crates/exec-harness/src/lib.rs:62
↓ 1 callersFunctionexpected_flags
Expected flags, following codspeed-node `getV8Flags()`, plus the perf map in memory mode.
crates/exec-harness/src/runtime_env/node/tests.rs:24
↓ 1 callersFunctionextract_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 callersFunctionextract_rounds_from_config
Extract rounds directly from config (used when warmup is disabled)
crates/exec-harness/src/walltime/benchmark_loop.rs:249
↓ 1 callersFunctionextract_time_constraints
Extract time constraints from config for stop conditions
crates/exec-harness/src/walltime/benchmark_loop.rs:261
↓ 1 callersFunctionfake_session
()
src/run_environment/local/provider.rs:454
↓ 1 callersFunctionfetch_and_compile
Everything that runs unprivileged: fetching the sources and compiling them.
src/executor/valgrind/build_from_source.rs:111
↓ 1 callersMethodfetch_local_run
(&self, vars: FetchLocalRunVars)
src/api_client.rs:553
↓ 1 callersMethodfile_name
(pid: Option<pid_t>)
crates/runner-shared/src/artifacts/mod.rs:22
↓ 1 callersFunctionfill_stack_regs
crates/memtrack/src/ebpf/c/stack_capture.bpf.h:132
↓ 1 callersMethodfinalize
( &self, fifo_data: &FifoBenchmarkData, timestamps: &ExecutionTimestamps, prof
src/executor/wall_time/profiler/perf/mod.rs:183
↓ 1 callersFunctionfind_debug_file_by_build_id
Build-id `a05cfb6313fe06a13c9b4b5cb86c2069faa3951f` resolves to `<debug_dir>/.build-id/a0/5cfb6313fe06a13c9b4b5cb86c2069faa3951f.debug`: first byte as
src/executor/helpers/debug_file.rs:42
↓ 1 callersFunctionfind_statically_linked_allocator
(path: &Path)
crates/memtrack/src/allocators/static_linked.rs:25
↓ 1 callersFunctionflush_batch
The lock is released before the send so a slow consumer never blocks the ring-buffer callback.
crates/memtrack/src/ebpf/poller.rs:19
↓ 1 callersFunctionflush_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:312
↓ 1 callersFunctionfnv64_hash_chunk
4-lane FNV-1a over one STACK_COPY_CHUNK worth of 8-byte words. Fixed-size, * unrolled so the verifier sees a bounded loop. */
crates/memtrack/src/ebpf/c/stack_capture.bpf.h:93
↓ 1 callersFunctionfolio_is_anon
crates/memtrack/src/ebpf/c/utils/folio.h:43
↓ 1 callersFunctionfolio_mm_counter
Mirrors the kernel's mm_counter(): anon folios are also swapbacked, so the * anon check must come first. */
crates/memtrack/src/ebpf/c/utils/folio.h:50
↓ 1 callersFunctionfolio_nr_pages_est
crates/memtrack/src/ebpf/c/utils/folio.h:34
↓ 1 callersFunctionfolio_order
crates/memtrack/src/ebpf/c/utils/folio.h:27
↓ 1 callersFunctionfolio_page_address
crates/memtrack/src/ebpf/c/utils/folio.h:61
↓ 1 callersFunctionformat_checkmark
Format a completion checkmark with a label.
src/local_logger/mod.rs:209
↓ 1 callersFunctionformat_cross
Format a failure cross with a label.
src/local_logger/mod.rs:223
↓ 1 callersFunctionformat_distribution_pct
Format a percentage distribution value with color intensity
src/upload/benchmark_display.rs:47
↓ 1 callersFunctionformat_duration_to_exponent
(val: f64, exponent: i32, fraction_digits: usize)
src/cli/run/helpers/format_duration.rs:19
↓ 1 callersFunctionformat_elapsed
Format elapsed duration in a compact human-readable way
src/local_logger/mod.rs:232
↓ 1 callersFunctionformat_group_header
Format a group header with styled prefix
src/local_logger/mod.rs:200
↓ 1 callersFunctionformat_log
Format a log entry with the appropriate style for its level.
src/local_logger/mod.rs:275
↓ 1 callersFunctionfp_chain
The frame-pointer walk recorded under `stackid`, innermost frame first. Best effort: a missing chain costs the fallback for one stack, not the run.
crates/memtrack/src/ebpf/events.rs:148
↓ 1 callersFunctiongenerate_events
Generate N random memtrack events with a seeded RNG
crates/runner-shared/benches/memtrack_writer.rs:27
↓ 1 callersFunctiongenerate_realistic_events
(n: usize)
crates/runner-shared/benches/memtrack_writer.rs:95
↓ 1 callersFunctiongenerate_stack_events
A stack-capture heavy stream: one `Stack` record per allocation, sized like the kernel's stack copies (2 KiB payload, x86_64 register set).
crates/runner-shared/benches/memtrack_writer.rs:210
↓ 1 callersFunctionget_all_executors
()
src/executor/mod.rs:65
↓ 1 callersFunctionget_codspeed_valgrind_binary
(system_info: &SystemInfo)
src/executor/valgrind/setup.rs:89
↓ 1 callersMethodget_commit_hash
Returns the HEAD commit hash of the repository at the given path.
src/run_environment/provider.rs:158
↓ 1 callersFunctionget_compression_flags
(perf_executable: S)
src/executor/wall_time/profiler/perf/perf_executable.rs:119
↓ 1 callersFunctionget_cpu_flags
()
src/system/info.rs:64
↓ 1 callersFunctionget_env_number
(name: &str, default: u32)
src/run_environment/circleci/provider.rs:82
↓ 1 callersFunctionget_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 callersFunctionget_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 callersMethodget_logger
(&self)
src/run_environment/local/provider.rs:335
↓ 1 callersFunctionget_nearest_exponent
(val: f64)
src/cli/run/helpers/format_duration.rs:1
↓ 1 callersFunctionget_node_objects
()
src/executor/valgrind/helpers/ignored_objects_path.rs:28
↓ 1 callersMethodget_or_create_project_repository
( &self, vars: GetOrCreateProjectRepositoryVars, )
src/run_environment/local/provider.rs:405
↓ 1 callersFunctionget_perf_status
()
src/executor/wall_time/profiler/perf/setup.rs:11
↓ 1 callersFunctionget_pr_number
Returns the number of the pull request the build runs on, if any. `CIRCLE_PULL_REQUEST` holds the URL of the pull request (`.../pull/22`) and is only
src/run_environment/circleci/provider.rs:54
↓ 1 callersFunctionget_provider
( config: &OrchestratorConfig, api_client: &CodSpeedAPIClient, )
src/run_environment/mod.rs:41
↓ 1 callersFunctionget_python_objects
()
src/executor/valgrind/helpers/ignored_objects_path.rs:4
↓ 1 callersFunctionget_ref
()
src/run_environment/buildkite/provider.rs:43
↓ 1 callersFunctionget_ref
(pr_number: Option<u64>)
src/run_environment/circleci/provider.rs:66
↓ 1 callersMethodget_repository_provider
(&self)
src/run_environment/local/provider.rs:331
↓ 1 callersMethodget_run_environment_metadata
(&self)
src/run_environment/buildkite/provider.rs:131
↓ 1 callersMethodget_run_environment_metadata
(&self)
src/run_environment/circleci/provider.rs:177
↓ 1 callersFunctionget_run_event
()
src/run_environment/buildkite/provider.rs:33
↓ 1 callersMethodget_shell_command
(&self)
src/cli/mod.rs:170
↓ 1 callersFunctionget_unit_index
(bytes: f64)
src/cli/run/helpers/format_memory.rs:4
↓ 1 callersMethodget_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:113
↓ 1 callersFunctionget_user
()
src/system/info.rs:9
↓ 1 callersFunctionget_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/cli.rs:68
↓ 1 callersFunctionget_valgrind_args
Builds the Valgrind argument list for the given simulation tool.
src/executor/valgrind/measure.rs:22
↓ 1 callersFunctionget_valgrind_status
()
src/executor/valgrind/setup.rs:135
↓ 1 callersFunctiongzip
(data: &[u8])
src/instruments/otel/receiver.rs:442
↓ 1 callersFunctionhandle
(request: Request<Incoming>, store: &RequestStore)
src/instruments/otel/receiver.rs:204
↓ 1 callersFunctionhandle_ipc_message
(msg: IpcMessage, tracker: &Tracker)
crates/memtrack/src/ipc.rs:88
↓ 1 callersMethodhandle_request
Returns `Ok(true)` when the inode should be marked known (attached, or definitively not an allocator), `Ok(false)` when the process exited before it c
crates/memtrack/src/ebpf/attach_worker.rs:239
↓ 1 callersFunctionharvest_perf_maps
(profile_folder: &Path)
src/executor/valgrind/helpers/perf_maps.rs:18
↓ 1 callersFunctionhas_controlling_terminal
()
src/executor/helpers/run_with_sudo.rs:47
↓ 1 callersFunctionhas_debug_symbols
Whether a separate debug file can be resolved for `binary`, through the same build-id and `.gnu_debuglink` lookup that GDB and valgrind perform.
src/executor/helpers/libc_debug_info.rs:26
↓ 1 callersFunctionhash_stack_bytes
Hash the first len bytes, one chunk at a time. The loop has the same budget * bound as the copy so the verifier accepts the reads; len ends it early.
crates/memtrack/src/ebpf/c/stack_capture.bpf.h:121
↓ 1 callersFunctionhook_is_executable
Whether `path` is an executable file. Used to detect machine hooks.
src/executor/wall_time/isolation.rs:110
↓ 1 callersFunctionindent_lines
Indent every line of a string with the given prefix
src/local_logger/mod.rs:248
↓ 1 callersFunctioninit_libbpf_logging
Route libbpf's output through the logger, so `CODSPEED_LOG` filters it like any other target (e.g. `libbpf=debug`). The minimum level follows the logg
crates/memtrack/src/ebpf/libbpf_log.rs:25
↓ 1 callersFunctioninit_local_logger
()
src/local_logger/mod.rs:352
↓ 1 callersMethodinsert_known_inode
Mark a (dev, ino) as classified so the watcher stops re-signalling for it. The 16-byte key matches `struct inode_key { __u64 dev; __u64 ino; }` (no pa
crates/memtrack/src/ebpf/memtrack/maps.rs:42
↓ 1 callersFunctioninstall_build
Install the freshly built valgrind system-wide. Kept out of the rolling buffer so that a sudo password prompt stays visible to the user.
src/executor/valgrind/build_from_source.rs:131
↓ 1 callersFunctioninstall_mongodb_tracer
()
src/instruments/mongo_tracer.rs:233
↓ 1 callersFunctioninstall_perf
(system_info: &SystemInfo, setup_cache_dir: Option<&Path>)
src/executor/wall_time/profiler/perf/setup.rs:38
↓ 1 callersFunctioninstall_valgrind_from_package
Install the valgrind-codspeed package we publish for this system, from apt.
src/executor/valgrind/setup.rs:265
↓ 1 callersFunctioninstall_wrapper
Writes the `node` wrapper script and returns its folder. The folder is a fresh temp dir with a random name, created exclusively and writable only by
crates/exec-harness/src/runtime_env/node/mod.rs:41
↓ 1 callersMethodinto_perf_map
(self)
src/executor/wall_time/profiler/perf/jit_dump.rs:19
↓ 1 callersMethodinto_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 callersMethodis_active
(&self)
src/local_logger/rolling_buffer/mod.rs:76
↓ 1 callersMethodis_changed
(&self)
src/executor/helpers/linux_sysctl.rs:21
↓ 1 callersFunctionis_codspeed_valgrind_installation_supported
(system_info: &SystemInfo)
src/executor/valgrind/setup.rs:95
↓ 1 callersFunctionis_enabled
crates/memtrack/src/ebpf/c/utils/process_tracking.h:31
↓ 1 callersMethodis_encompassed_by_file_range
( &self, runtime_file_offset: u64, mapping_size: u64, )
src/executor/shared/module_artifacts/elf_helper.rs:31
↓ 1 callersFunctionis_eof
`true` if `fd` currently reports EOF (every writer closed), `false` if it reports "no data yet" (at least one writer still open).
crates/memtrack/src/ebpf/memtrack/fd_holder.rs:285
↓ 1 callersMethodis_exec_harness
(&self)
src/executor/shared/fifo.rs:78
↓ 1 callersFunctionis_executable_available
(executable: &str)
src/executor/valgrind/build_from_source.rs:40
↓ 1 callersFunctionis_forked_pull_request
Returns whether the build runs on a pull request opened from a fork. `CIRCLE_PR_NUMBER` is "only available on forked PRs", so its presence is the sig
src/run_environment/circleci/provider.rs:78
↓ 1 callersFunctionis_free_threaded_python
Returns true if any Python interpreter the benchmark command could resolve to is free-threaded: PATH `python`/`python3`, `$VIRTUAL_ENV`, the working d
src/executor/valgrind/helpers/python.rs:17
↓ 1 callersFunctionis_free_threaded_request
Matches a full key variant (`cpython-3.13.0+freethreaded-linux-x86_64-gnu`) or a version with the `t` suffix (`3.13t`, `cpython@3.13.1t`).
src/executor/valgrind/helpers/python.rs:71
↓ 1 callersFunctionis_genuine_intel
()
crates/runner-shared/src/perf_event.rs:138
↓ 1 callersFunctionis_gil_disabled
(python: &Path)
src/executor/valgrind/helpers/python.rs:45
← previousnext →501–600 of 1,682, ranked by callers