unison
unison copied to clipboard
Add Text benchmarks
Overview
I am trying #2599.
I am not sure what is the focuses here.
So, as a starting point, I added basic benchmarks for Unison.Util.Text
vs. Data.Text
.
If this issue does not target Data.Text
, I will remove them.
And I have not done Bytes
or Rope
yet.
- It is not so helpful to increase
n
here. It might be good to limit the patterns. - Some operations of
Text
underlyingRope
(size
,at
) are faster thanData.Text
Interesting/controversial decisions
I ignored parser-typechecker/benchmarks/runtime/Main.hs
tentatively.
It was not updated and I tried to fix the regression.
But I gave it up when I found that we need to use CombIx
in Let
.
@satotake We have #2631 to fix benchmarks/runtime/Main.hs
, sorry about that.
@aryairani no worries, sorry for missing that.