Skip to content

Commit 0c7aba2

Browse files
committed
Improve charts
1 parent b2a34a0 commit 0c7aba2

7 files changed

+8
-8
lines changed

blog/_posts/2018-02-07-collections-performance.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,17 @@ Talking about performance, how performant are the new collections compared to th
9696
Again, the answer depends on the type of collection, the operations and the number of elements.
9797
My `Vector` benchmarks show a 35% speedup on average:
9898

99-
![](/resources/img/new-collections-performance-filter.png)
99+
![](/resources/img/blog/new-collections-performance-filter.png)
100100

101-
![](/resources/img/new-collections-performance-map.png)
101+
![](/resources/img/blog/new-collections-performance-map.png)
102102

103-
![](/resources/img/new-collections-performance-flatMap.png)
103+
![](/resources/img/blog/new-collections-performance-flatMap.png)
104104

105-
These charts show the execution time (vertically) of the `filter`, `map` and `flatMap`
106-
operations, according to the number of elements (horizontally). Note that scales are
107-
logarithmic in both axes. The blue line shows the performance of the old `Vector`,
108-
the green line shows the performance of the new `Vector` if it used only view based
109-
implementations, and the red line shows the actual performance of the new `Vector`
105+
These charts show the speedup factor (vertically) of the `filter`, `map` and `flatMap`
106+
operations execution compared to the old `Vector`, for various number of elements (horizontally).
107+
The blue line shows the old `Vector`,
108+
the red line shows the new `Vector` if it used only view based
109+
implementations, and the yellow line shows the actual new `Vector`
110110
(with strict optimized implementations). Benchmark source code and numbers can be found
111111
[here](https://gist.github.com/julienrf/f1cb2b062cd9783a35e2f35778959c76).
112112

Loading
Loading
Loading
Binary file not shown.
Binary file not shown.
-39.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)