Avatar for the mpiton user
mpiton
vortex
BlogDocsChangelog

fix(api): harden toError against circular-reference payloads

#146Merged
Comparing
fix/issue-142-toError-circular
(
18ec66f
) with
main
(
53b272f
)
CodSpeed Performance Gauge
0%
Untouched
26

Benchmarks

26 total
detect_md5
src-tauri/benches/domain_benchmarks.rs::benches::bench_checksum_detection::checksum_detection
CodSpeed Performance Gauge
0%
657.5 ns657.5 ns
checksum_workflow
src-tauri/benches/domain_benchmarks.rs::benches::bench_download_state_machine::download_state_machine
CodSpeed Performance Gauge
0%
6.3 µs6.3 µs
complex_with_port_and_path
src-tauri/benches/domain_benchmarks.rs::benches::bench_url_parsing::url_parsing
CodSpeed Performance Gauge
0%
2.6 µs2.6 µs
start_and_fail_retry_cycle
src-tauri/benches/domain_benchmarks.rs::benches::bench_download_state_machine::download_state_machine
CodSpeed Performance Gauge
0%
4.8 µs4.8 µs
ftp_scheme
src-tauri/benches/domain_benchmarks.rs::benches::bench_url_parsing::url_parsing
CodSpeed Performance Gauge
0%
2.5 µs2.5 µs
apply_patch_single_field
src-tauri/benches/domain_benchmarks.rs::benches::bench_config_operations::config_operations
CodSpeed Performance Gauge
0%
2.9 µs2.9 µs
default_config
src-tauri/benches/domain_benchmarks.rs::benches::bench_config_operations::config_operations
CodSpeed Performance Gauge
0%
3.2 µs3.2 µs
detect_sha256
src-tauri/benches/domain_benchmarks.rs::benches::bench_checksum_detection::checksum_detection
CodSpeed Performance Gauge
0%
763.6 ns763.6 ns
simple_https
src-tauri/benches/domain_benchmarks.rs::benches::bench_url_parsing::url_parsing
CodSpeed Performance Gauge
0%
2.4 µs2.4 µs
create_invalid
src-tauri/benches/domain_benchmarks.rs::benches::bench_priority::priority
CodSpeed Performance Gauge
0%
2.6 µs2.6 µs
create_valid
src-tauri/benches/domain_benchmarks.rs::benches::bench_priority::priority
CodSpeed Performance Gauge
0%
312.5 ns312.5 ns
full_lifecycle
src-tauri/benches/domain_benchmarks.rs::benches::bench_segment_operations::segment_operations
CodSpeed Performance Gauge
0%
254.7 ns254.7 ns
progress_percentage
src-tauri/benches/domain_benchmarks.rs::benches::bench_download_state_machine::download_state_machine
CodSpeed Performance Gauge
0%
423.1 ns423.1 ns
error_and_reset_cycle
src-tauri/benches/domain_benchmarks.rs::benches::bench_segment_operations::segment_operations
CodSpeed Performance Gauge
0%
1.7 µs1.7 µs
create_new
src-tauri/benches/domain_benchmarks.rs::benches::bench_download_state_machine::download_state_machine
CodSpeed Performance Gauge
0%
4.8 µs4.8 µs
reject_invalid
src-tauri/benches/domain_benchmarks.rs::benches::bench_checksum_detection::checksum_detection
CodSpeed Performance Gauge
0%
581.1 ns581.1 ns
apply_patch_many_fields
src-tauri/benches/domain_benchmarks.rs::benches::bench_config_operations::config_operations
CodSpeed Performance Gauge
0%
3.6 µs3.6 µs
with_userinfo
src-tauri/benches/domain_benchmarks.rs::benches::bench_url_parsing::url_parsing
CodSpeed Performance Gauge
0%
2.5 µs2.5 µs
normalize_max_concurrent
src-tauri/benches/domain_benchmarks.rs::benches::bench_config_operations::config_operations
CodSpeed Performance Gauge
0%
150 ns150 ns
split
src-tauri/benches/domain_benchmarks.rs::benches::bench_segment_operations::segment_operations
CodSpeed Performance Gauge
0%
530.3 ns530.3 ns
full_lifecycle
src-tauri/benches/domain_benchmarks.rs::benches::bench_download_state_machine::download_state_machine
CodSpeed Performance Gauge
0%
3.9 µs3.9 µs

Commits

Click on a commit to change the comparison range
Base
main
53b272f
0%
fix(api): harden toError against circular-reference payloads (#142)
9e0dbb2
2 hours ago
by mpiton
0%
fix(api): coalesce JSON.stringify undefined return in toError (#142)
18ec66f
2 hours ago
by mpiton
© 2026 CodSpeed Technology
Home Terms Privacy Docs