Skip to content

Commit 06a6dbf

Browse files
authored
Update benchmark to new results
1 parent 29df06d commit 06a6dbf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/benchmark.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
## Benchmark Comparison
1+
## Benchmark Comparison between Streaming and Non-Streaming Methods
22

33
Using these sampling techniques can bring down considerably the memory usage of the program,
44
but there are cases where they are also more time efficient, as demostrated below with a comparison with the
55
equivalent methods of `StatsBase.sample`:
66

7-
![image](https://github.com/user-attachments/assets/5ca9637b-606a-4325-bf59-7c601df41fd6)
7+
![comparison_stream_algs](https://github.com/user-attachments/assets/b5774a5a-5caf-4ca3-ac21-deff23b3cda4)
88

99
The “collection-based with setup” methods consider collecting the iterator in memory as part of the benchmark.
10-
The code to reproduce this benchmark is in [benchmark_comparison_stream.jl](https://github.com/JuliaDynamics/StreamSampling.jl/blob/main/benchmark/benchmark_comparison_stream.jl).
10+
The code to reproduce the results is in [benchmark_comparison_stream.jl](https://github.com/JuliaDynamics/StreamSampling.jl/blob/main/benchmark/benchmark_comparison_stream.jl).

0 commit comments

Comments
 (0)