-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove generateFromTimeSeries and cleanup after that
This does have some performance improvements due to having to not support some cases. name old time/op new time/op delta CompileTemplatesSimple-8 1.05µs ±10% 0.98µs ±10% -5.92% (p=0.015 n=10+10) CompileTemplatesComplex-8 1.54µs ± 7% 1.41µs ± 6% -8.35% (p=0.001 n=9+10) EvaluateTemplatesSimple-8 230ns ± 7% 25ns ± 8% -89.30% (p=0.000 n=10+10) EvaluateTemplatesComplex-8 6.88ns ± 6% 6.98ns ±10% ~ (p=0.796 n=10+10) StoreFromPrecompiledTemplates-8 155ms ±13% 153ms ± 7% ~ (p=1.000 n=10+10) StoreFromTemplates-8 153ms ± 7% 158ms ±10% ~ (p=0.243 n=10+9) GenerateFromPrecompiledTemplates-8 31.6ms ±19% 27.4ms ±20% -13.42% (p=0.005 n=10+10) WriteFor-8 1.08µs ±10% 1.05µs ±11% ~ (p=0.280 n=10+10) name old alloc/op new alloc/op delta StoreFromPrecompiledTemplates-8 117MB ± 0% 117MB ± 0% ~ (p=1.000 n=10+9) StoreFromTemplates-8 117MB ± 0% 117MB ± 0% ~ (p=0.143 n=10+10) GenerateFromPrecompiledTemplates-8 79.2MB ± 0% 79.2MB ± 0% -0.00% (p=0.000 n=10+9) WriteFor-8 640B ± 5% 739B ±43% ~ (p=0.795 n=7+10) name old allocs/op new allocs/op delta StoreFromPrecompiledTemplates-8 175 ± 2% 175 ± 1% ~ (p=0.643 n=10+10) StoreFromTemplates-8 309 ± 1% 281 ± 1% -9.22% (p=0.000 n=10+10) GenerateFromPrecompiledTemplates-8 39.0 ±21% 28.3 ±13% -27.44% (p=0.000 n=10+10) WriteFor-8 0.00 0.00 ~ (all equal)
- Loading branch information
Showing
3 changed files
with
11 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters