Hugo on Apple M1
By bep
The table below shows all of Hugo's benchmarks run on both a MacBook with Intel CPU and a Mac Mini M1 with an ARM CPU.
Some notes:
- The Intel Mac is a 2019 16 inch MacBook with 2,3 GHz 8-Core Intel Core i9 with 32 GB ram.
- The ARM Mac is a new Mac Mini M1 base model with 8 GB of ram
- The benchmarks are run with
go test -test.run=NONE -bench="Benchmark" -test.benchmem=true -cpu=8 -count=4 ./...
. Since the M1 does not have a concept of Turbo Boost, I kept that on when running the Intel benchmarks. - The right column is the Mac Mini, negative (black) numbers are good, positive numbers (red) are not so good.
- Go is compiled from the latest source:
go version devel +5627a4dc30 Wed Dec 9 16:57:37 2020 +0000 darwin/arm64
This test isn't exactly comparing apples with apples (pun intended); this is a 4K USD computer compared to a 1K computer, but that makes the performance of the Mac Mini even more impressive.
There are some areas where the Intel still outshines the ARM, and that is most likely areas with highly optimized assembly code, and this will certainly improve. More benchmarks can be found here.
You probably want to watch issue to track when we can get a Go release with MacOS M1 support. A couple of months?
Also, this work document is a great resource for getting a native Go development environment up and running on the M1.
Benchstat Output
hugo-intel.txt | hugo-m1.txt | |||
---|---|---|---|---|
time/op | delta | |||
github.com/gohugoio/hugo/common/hreflect | ||||
IsTruthFul-8 | 15.0ns ± 3% | 12.6ns ± 3% | −16.31% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/common/maps | ||||
ScratchGet-8 | 15.1ns ± 1% | 13.8ns ± 0% | −8.74% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/helpers | ||||
StripHTML-8 | 2.02µs ± 0% | 1.61µs ± 0% | −20.15% | (p=0.029 n=4+4) |
TestTruncateWordsToWholeSentence-8 | 50.1ns ± 2% | 45.1ns ± 0% | −9.98% | (p=0.029 n=4+4) |
TestTruncateWordsToWholeSentenceOld-8 | 4.23µs ± 2% | 3.15µs ± 0% | −25.53% | (p=0.029 n=4+4) |
TotalWords-8 | 6.38µs ± 2% | 5.90µs ± 0% | −7.63% | (p=0.029 n=4+4) |
EmojiKyokomiFprint-8 | 30.9µs ± 5% | 25.1µs ± 3% | −18.83% | (p=0.029 n=4+4) |
EmojiKyokomiSprint-8 | 29.9µs ± 1% | 24.3µs ± 0% | −18.49% | (p=0.029 n=4+4) |
HugoEmoji-8 | 1.56µs ±10% | 4.27µs ± 3% | +174.22% | (p=0.029 n=4+4) |
ReaderContains-8 | 4.01µs ± 1% | 4.23µs ± 2% | +5.48% | (p=0.029 n=4+4) |
MD5FromFileFast/full=false-8 | 2.36µs ± 1% | 1.75µs ± 0% | −25.92% | (p=0.029 n=4+4) |
MD5FromFileFast/full=true-8 | 32.7µs ± 2% | 36.3µs ± 0% | +10.85% | (p=0.029 n=4+4) |
UniqueStrings/Safe-8 | 418ns ± 3% | 312ns ± 0% | −25.42% | (p=0.029 n=4+4) |
UniqueStrings/Reuse_slice-8 | 352ns ± 2% | 271ns ± 2% | −23.25% | (p=0.029 n=4+4) |
UniqueStrings/Reuse_slice_sorted-8 | 203ns ± 1% | 157ns ± 2% | −22.82% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/hugofs | ||||
Walk-8 | 271µs ± 1% | 210µs ± 0% | −22.70% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/hugofs/glob | ||||
GetGlob-8 | 15.0ns ± 2% | 13.8ns ± 0% | −8.12% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/hugolib | ||||
Cascade/langs-1-8 | 7.24ms ± 1% | 5.06ms ± 2% | −30.06% | (p=0.029 n=4+4) |
Cascade/langs-3-8 | 9.20ms ± 0% | 6.56ms ± 1% | −28.75% | (p=0.029 n=4+4) |
Cascade/langs-5-8 | 11.2ms ± 1% | 8.0ms ± 1% | −28.64% | (p=0.029 n=4+4) |
Cascade/langs-7-8 | 13.4ms ± 1% | 9.6ms ± 0% | −28.18% | (p=0.029 n=4+4) |
Cascade/langs-9-8 | 15.8ms ± 1% | 11.2ms ± 1% | −29.20% | (p=0.029 n=4+4) |
ContentMap/CreateMissingNodes-8 | 54.3µs ± 3% | 49.9µs ± 5% | −8.03% | (p=0.029 n=4+4) |
GetPage-8 | 210ns ± 2% | 207ns ± 1% | −1.46% | (p=0.029 n=4+4) |
GetPageRegular/From_root-8 | 1.64µs ± 1% | 0.88µs ± 0% | −46.14% | (p=0.029 n=4+4) |
GetPageRegular/Page_relative-8 | 1.96µs ± 0% | 1.15µs ± 1% | −41.52% | (p=0.029 n=4+4) |
MergeByLanguage-8 | 644ns ±15% | 599ns ±12% | ~ | (p=0.486 n=4+4) |
PagesPrevNext/.Next-pages-300-8 | 34.0ns ± 1% | 31.3ns ± 0% | −7.81% | (p=0.029 n=4+4) |
PagesPrevNext/.Next-pages-5000-8 | 65.5ns ± 2% | 38.3ns ± 1% | −41.42% | (p=0.029 n=4+4) |
PagesPrevNext/.Prev-pages-300-8 | 34.0ns ± 1% | 31.6ns ± 1% | −7.00% | (p=0.029 n=4+4) |
PagesPrevNext/.Prev-pages-5000-8 | 65.8ns ± 2% | 37.9ns ± 1% | −42.37% | (p=0.029 n=4+4) |
PagesPrevNext/Pages.Next-pages-300-8 | 911ns ±17% | 621ns ± 0% | −31.82% | (p=0.029 n=4+4) |
PagesPrevNext/Pages.Next-pages-5000-8 | 1.94µs ± 9% | 1.67µs ±11% | ~ | (p=0.057 n=4+4) |
PagesPrevNext/Pages.Prev-pages-300-8 | 854ns ±32% | 631ns ± 3% | −26.16% | (p=0.029 n=4+4) |
PagesPrevNext/Pages.Prev-pages-5000-8 | 1.98µs ± 4% | 1.66µs ± 5% | −16.34% | (p=0.029 n=4+4) |
PagesPrevNext/Pages.Shuffled.Next-pages-300-8 | 914ns ±19% | 623ns ± 1% | −31.83% | (p=0.029 n=4+4) |
PagesPrevNext/Pages.Shuffled.Next-pages-5000-8 | 13.6µs ± 1% | 11.3µs ± 4% | −17.04% | (p=0.029 n=4+4) |
PagesPrevNext/Pages.Shuffled.Prev-pages-300-8 | 952ns ±21% | 627ns ± 0% | −34.12% | (p=0.029 n=4+4) |
PagesPrevNext/Pages.Shuffled.Prev-pages-5000-8 | 13.1µs ± 1% | 11.2µs ± 1% | −14.35% | (p=0.029 n=4+4) |
PagesPrevNext/Pages.ByTitle.Next-pages-300-8 | 752ns ± 2% | 630ns ± 4% | −16.24% | (p=0.029 n=4+4) |
PagesPrevNext/Pages.ByTitle.Next-pages-5000-8 | 13.5µs ± 3% | 11.1µs ± 4% | −17.84% | (p=0.029 n=4+4) |
ResourceChainPostProcess-8 | 40.1ms ± 1% | 35.6ms ± 1% | −11.23% | (p=0.029 n=4+4) |
ReplaceShortcodeTokens-8 | 2.30µs ±34% | 7.02µs ± 3% | +205.66% | (p=0.029 n=4+4) |
BuildSite/Edit_Bundle_with_image-8 | 754µs ± 0% | 446µs ± 7% | −40.85% | (p=0.029 n=4+4) |
BuildSite/Edit_Bundle_with_JSON_file-8 | 728µs ± 0% | 437µs ± 1% | −39.95% | (p=0.029 n=4+4) |
BuildSite/Edit_Tags_and_categories-8 | 15.5ms ± 2% | 12.9ms ± 6% | −16.46% | (p=0.029 n=4+4) |
BuildSite/Edit_Canonify_URLs-8 | 27.1ms ± 2% | 25.9ms ± 2% | −4.69% | (p=0.029 n=4+4) |
BuildSite/Edit_Deep_content_tree-8 | 32.2ms ± 5% | 25.7ms ± 3% | −20.16% | (p=0.029 n=4+4) |
BuildSite/Edit_Many_HTML_templates-8 | 11.3ms ± 2% | 8.5ms ± 2% | −24.98% | (p=0.029 n=4+4) |
BuildSite/Edit_Page_collections-8 | 19.7ms ± 2% | 14.5ms ± 3% | −26.11% | (p=0.029 n=4+4) |
BuildSite/Edit_List_terms-8 | 3.77ms ± 2% | 2.55ms ± 1% | −32.41% | (p=0.029 n=4+4) |
BuildSite/Regular_Bundle_with_image-8 | 5.54ms ± 0% | 3.98ms ± 1% | −28.09% | (p=0.029 n=4+4) |
BuildSite/Regular_Bundle_with_JSON_file-8 | 5.71ms ± 1% | 4.03ms ± 1% | −29.43% | (p=0.029 n=4+4) |
BuildSite/Regular_Tags_and_categories-8 | 24.6ms ± 2% | 19.0ms ± 2% | −22.47% | (p=0.029 n=4+4) |
BuildSite/Regular_Canonify_URLs-8 | 32.6ms ± 1% | 29.9ms ± 1% | −8.17% | (p=0.029 n=4+4) |
BuildSite/Regular_Deep_content_tree-8 | 41.3ms ± 1% | 31.6ms ± 2% | −23.60% | (p=0.029 n=4+4) |
BuildSite/Regular_Many_HTML_templates-8 | 19.9ms ± 1% | 14.4ms ± 0% | −27.53% | (p=0.029 n=4+4) |
BuildSite/Regular_Page_collections-8 | 28.8ms ± 0% | 21.2ms ± 1% | −26.29% | (p=0.029 n=4+4) |
BuildSite/Regular_List_terms-8 | 9.02ms ± 1% | 6.55ms ± 2% | −27.39% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/identity | ||||
IdentityManager/Add-8 | 702ns ±10% | 404ns ± 3% | −42.42% | (p=0.029 n=4+4) |
IdentityManager/Search-8 | 2.14µs ± 2% | 1.15µs ± 1% | −46.07% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/langs/i18n | ||||
I18nTranslate/all-present-8 | 254ns ± 1% | 315ns ± 0% | +23.86% | (p=0.029 n=4+4) |
I18nTranslate/present-in-default-8 | 650ns ± 2% | 604ns ± 0% | −6.97% | (p=0.029 n=4+4) |
I18nTranslate/present-in-current-8 | 252ns ± 1% | 309ns ± 2% | +22.83% | (p=0.029 n=4+4) |
I18nTranslate/missing-8 | 614ns ± 0% | 574ns ± 0% | −6.48% | (p=0.029 n=4+4) |
I18nTranslate/file-missing-8 | 1.43µs ± 3% | 1.19µs ± 0% | −16.26% | (p=0.029 n=4+4) |
I18nTranslate/context-provided-8 | 732ns ± 1% | 648ns ± 0% | −11.46% | (p=0.029 n=4+4) |
I18nTranslate/readingTime-one-8 | 480ns ± 1% | 462ns ± 0% | −3.61% | (p=0.029 n=4+4) |
I18nTranslate/readingTime-many-8 | 972ns ± 0% | 823ns ± 0% | −15.28% | (p=0.029 n=4+4) |
I18nTranslate/same-id-and-translation-8 | 248ns ± 1% | 312ns ± 0% | +26.12% | (p=0.029 n=4+4) |
I18nTranslate/same-id-and-translation-default-8 | 648ns ± 2% | 602ns ± 0% | −6.96% | (p=0.029 n=4+4) |
I18nTranslate/unknown-language-code-8 | 1.48µs ± 1% | 1.22µs ± 0% | −17.61% | (p=0.029 n=4+4) |
I18nTranslate/known-language-missing-plural-8 | 985ns ± 3% | 858ns ± 0% | −12.99% | (p=0.029 n=4+4) |
I18nTranslate/dotted-bare-key-8 | 238ns ± 2% | 314ns ± 0% | +32.13% | (p=0.029 n=4+4) |
I18nTranslate/lang-with-hyphen-8 | 574ns ± 2% | 569ns ± 1% | ~ | (p=0.229 n=4+4) |
github.com/gohugoio/hugo/markup/goldmark | ||||
SanitizeAnchorName-8 | 395ns ± 1% | 334ns ± 0% | −15.39% | (p=0.029 n=4+4) |
SanitizeAnchorNameAsciiOnly-8 | 866ns ± 5% | 660ns ± 0% | −23.82% | (p=0.029 n=4+4) |
SanitizeAnchorNameBlackfriday-8 | 528ns ± 1% | 439ns ± 0% | −17.00% | (p=0.029 n=4+4) |
SanitizeAnchorNameString-8 | 438ns ± 2% | 362ns ± 0% | −17.39% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/metrics | ||||
HowSimilar-8 | 1.92µs ± 0% | 1.50µs ± 0% | −21.55% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/output | ||||
Layout-8 | 78.7ns ± 1% | 96.0ns ± 8% | +22.06% | (p=0.029 n=4+4) |
LayoutUncached-8 | 6.93µs ± 0% | 5.69µs ± 0% | −17.83% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/parser/metadecoders | ||||
StringifyMapKeysStringsOnlyInterfaceMaps-8 | 790ns ±10% | 598ns ± 8% | −24.31% | (p=0.029 n=4+4) |
StringifyMapKeysStringsOnlyStringMaps-8 | 158ns ± 1% | 149ns ± 2% | −5.80% | (p=0.029 n=4+4) |
StringifyMapKeysIntegers-8 | 1.10µs ± 1% | 0.83µs ± 3% | −23.95% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/parser/pageparser | ||||
ShortcodeLexer-8 | 86.5µs ± 2% | 58.0µs ± 0% | −32.92% | (p=0.029 n=4+4) |
Parse-8 | 10.6µs ± 1% | 7.9µs ± 0% | −25.50% | (p=0.029 n=4+4) |
ParseWithEmoji-8 | 12.9µs ± 2% | 10.1µs ± 0% | −21.55% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/publisher | ||||
ClassCollectorWriter-8 | 18.2µs ± 0% | 13.6µs ± 0% | −25.52% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/related | ||||
RelatedNewIndex/singles-8 | 48.2µs ± 1% | 40.8µs ± 0% | −15.24% | (p=0.029 n=4+4) |
RelatedNewIndex/all-8 | 47.8µs ± 1% | 39.5µs ± 0% | −17.21% | (p=0.029 n=4+4) |
RelatedMatchesIn-8 | 83.3µs ±12% | 78.0µs ±11% | ~ | (p=0.343 n=4+4) |
github.com/gohugoio/hugo/resources | ||||
ImageExif/Cold_cache-8 | 192µs ± 6% | 166µs ± 3% | −13.75% | (p=0.029 n=4+4) |
ImageExif/Cold_cache,_10-8 | 209µs ± 2% | 173µs ± 1% | −17.10% | (p=0.029 n=4+4) |
ImageExif/Warm_cache-8 | 37.5µs ± 1% | 441.3µs ±16% | +1077.34% | (p=0.029 n=4+4) |
ResizeParallel-8 | 1.27µs ± 1% | 1.64µs ± 1% | +29.40% | (p=0.029 n=4+4) |
ResourcesMatch-8 | 524ns ± 6% | 638ns ± 7% | +21.73% | (p=0.029 n=4+4) |
ResourcesMatchA100-8 | 136ns ±12% | 120ns ± 3% | −11.25% | (p=0.029 n=4+4) |
AssignMetadata-8 | 15.4µs ± 1% | 11.6µs ± 1% | −24.64% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/resources/images/exif | ||||
DecodeExif-8 | 99.5µs ± 1% | 71.2µs ± 0% | −28.43% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/resources/page | ||||
PageCache-8 | 137ns ± 1% | 131ns ± 0% | −4.23% | (p=0.029 n=4+4) |
SearchPage/Shuffled-100-8 | 142ns ± 1% | 144ns ± 0% | ~ | (p=0.314 n=4+4) |
SearchPage/Shuffled-500-8 | 613ns ± 5% | 595ns ± 0% | ~ | (p=1.000 n=4+4) |
SearchPage/Shuffled-1000-8 | 1.60µs ± 4% | 1.42µs ± 5% | −11.24% | (p=0.029 n=4+4) |
SearchPage/Shuffled-5000-8 | 6.28µs ± 2% | 5.97µs ± 1% | −4.89% | (p=0.029 n=4+4) |
SearchPage/ByWeight-100-8 | 146ns ± 1% | 143ns ± 0% | −1.63% | (p=0.029 n=4+4) |
SearchPage/ByWeight-500-8 | 615ns ± 4% | 595ns ± 0% | ~ | (p=0.314 n=4+4) |
SearchPage/ByWeight-1000-8 | 801ns ± 1% | 657ns ± 3% | −17.94% | (p=0.029 n=4+4) |
SearchPage/ByWeight-5000-8 | 899ns ± 1% | 753ns ± 6% | −16.27% | (p=0.029 n=4+4) |
SearchPage/ByWeight.Reverse-100-8 | 144ns ± 1% | 144ns ± 0% | ~ | (p=0.514 n=4+4) |
SearchPage/ByWeight.Reverse-500-8 | 603ns ± 2% | 595ns ± 0% | −1.32% | (p=0.029 n=4+4) |
SearchPage/ByWeight.Reverse-1000-8 | 901ns ± 4% | 758ns ± 7% | −15.85% | (p=0.029 n=4+4) |
SearchPage/ByWeight.Reverse-5000-8 | 994ns ± 5% | 855ns ± 5% | −13.97% | (p=0.029 n=4+4) |
SearchPage/ByDate-100-8 | 141ns ± 1% | 144ns ± 1% | +2.06% | (p=0.029 n=4+4) |
SearchPage/ByDate-500-8 | 594ns ± 2% | 595ns ± 0% | ~ | (p=0.257 n=4+4) |
SearchPage/ByDate-1000-8 | 454ns ±13% | 393ns ± 7% | ~ | (p=0.057 n=4+4) |
SearchPage/ByDate-5000-8 | 530ns ±10% | 461ns ± 6% | ~ | (p=0.057 n=4+4) |
SearchPage/ByPublishDate-100-8 | 140ns ± 1% | 144ns ± 1% | +2.51% | (p=0.029 n=4+4) |
SearchPage/ByPublishDate-500-8 | 583ns ± 0% | 596ns ± 0% | +2.14% | (p=0.029 n=4+4) |
SearchPage/ByPublishDate-1000-8 | 441ns ± 6% | 443ns ± 8% | ~ | (p=0.686 n=4+4) |
SearchPage/ByPublishDate-5000-8 | 535ns ± 4% | 532ns ± 7% | ~ | (p=0.686 n=4+4) |
SearchPage/ByTitle-100-8 | 141ns ± 2% | 143ns ± 0% | ~ | (p=0.229 n=4+4) |
SearchPage/ByTitle-500-8 | 586ns ± 0% | 595ns ± 0% | +1.70% | (p=0.029 n=4+4) |
SearchPage/ByTitle-1000-8 | 1.00µs ± 9% | 0.84µs ± 3% | −16.22% | (p=0.029 n=4+4) |
SearchPage/ByTitle-5000-8 | 1.22µs ±11% | 0.99µs ± 7% | −18.47% | (p=0.029 n=4+4) |
SearchPage/ByTitle_Linear-100-8 | 142ns ± 2% | 144ns ± 0% | ~ | (p=0.286 n=4+4) |
SearchPage/ByTitle_Linear-500-8 | 587ns ± 1% | 596ns ± 0% | +1.49% | (p=0.029 n=4+4) |
SearchPage/ByTitle_Linear-1000-8 | 1.15µs ± 2% | 1.16µs ± 0% | ~ | (p=0.286 n=4+4) |
SearchPage/ByTitle_Linear-5000-8 | 5.63µs ± 1% | 5.67µs ± 0% | ~ | (p=0.343 n=4+4) |
SortByWeightAndReverse-8 | 3.99µs ± 4% | 3.61µs ± 4% | −9.63% | (p=0.029 n=4+4) |
PermalinkExpand-8 | 970ns ± 9% | 709ns ± 0% | −26.86% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/resources/resource_transformers/postcss | ||||
ImportResolver-8 | 46.1µs ± 2% | 28.1µs ± 0% | −38.96% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/tpl/internal/go_templates/htmltemplate | ||||
CSSEscaper-8 | 666ns ± 2% | 552ns ± 1% | −17.11% | (p=0.029 n=4+4) |
CSSEscaperNoSpecials-8 | 166ns ± 1% | 138ns ± 0% | −16.47% | (p=0.029 n=4+4) |
DecodeCSS-8 | 355ns ± 1% | 351ns ± 0% | ~ | (p=0.057 n=4+4) |
DecodeCSSNoSpecials-8 | 4.83ns ± 2% | 4.06ns ± 0% | −15.84% | (p=0.029 n=4+4) |
CSSValueFilter-8 | 116ns ± 1% | 105ns ± 0% | −9.37% | (p=0.029 n=4+4) |
CSSValueFilterOk-8 | 128ns ± 3% | 115ns ± 0% | −10.08% | (p=0.029 n=4+4) |
EscapedExecute-8 | 1.80µs ± 1% | 1.35µs ± 0% | −25.07% | (p=0.029 n=4+4) |
HTMLNospaceEscaper-8 | 768ns ± 2% | 628ns ± 0% | −18.25% | (p=0.029 n=4+4) |
HTMLNospaceEscaperNoSpecials-8 | 221ns ± 1% | 159ns ± 0% | −28.16% | (p=0.029 n=4+4) |
StripTags-8 | 611ns ± 2% | 500ns ± 0% | −18.07% | (p=0.029 n=4+4) |
StripTagsNoSpecials-8 | 71.3ns ± 0% | 55.0ns ± 0% | −22.90% | (p=0.029 n=4+4) |
JSValEscaperWithNum-8 | 355ns ± 2% | 274ns ± 0% | −22.83% | (p=0.029 n=4+4) |
JSValEscaperWithStr-8 | 1.29µs ± 1% | 0.99µs ± 0% | −23.43% | (p=0.029 n=4+4) |
JSValEscaperWithStrNoSpecials-8 | 412ns ± 1% | 317ns ± 0% | −23.08% | (p=0.029 n=4+4) |
JSValEscaperWithObj-8 | 1.49µs ± 1% | 1.14µs ± 0% | −23.15% | (p=0.029 n=4+4) |
JSValEscaperWithObjNoSpecials-8 | 566ns ± 1% | 441ns ± 0% | −22.15% | (p=0.029 n=4+4) |
JSStrEscaperNoSpecials-8 | 182ns ± 2% | 143ns ± 0% | −21.16% | (p=0.029 n=4+4) |
JSStrEscaper-8 | 681ns ± 1% | 557ns ± 0% | −18.18% | (p=0.029 n=4+4) |
JSRegexpEscaperNoSpecials-8 | 176ns ± 1% | 152ns ± 0% | −13.74% | (p=0.029 n=4+4) |
JSRegexpEscaper-8 | 694ns ± 2% | 561ns ± 0% | −19.20% | (p=0.029 n=4+4) |
TemplateSpecialTags-8 | 120µs ± 1% | 92µs ± 0% | −23.07% | (p=0.029 n=4+4) |
URLEscaper-8 | 1.50µs ± 1% | 1.06µs ± 0% | −29.35% | (p=0.029 n=4+4) |
URLEscaperNoSpecials-8 | 140ns ± 1% | 121ns ± 0% | −13.45% | (p=0.029 n=4+4) |
URLNormalizer-8 | 1.10µs ± 1% | 0.78µs ± 0% | −28.45% | (p=0.029 n=4+4) |
URLNormalizerNoSpecials-8 | 160ns ± 1% | 136ns ± 0% | −15.00% | (p=0.029 n=4+4) |
SrcsetFilter-8 | 497ns ± 2% | 343ns ± 0% | −30.87% | (p=0.029 n=4+4) |
SrcsetFilterNoSpecials-8 | 273ns ± 1% | 217ns ± 0% | −20.71% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate/parse | ||||
ParseLarge-8 | 18.6ms ± 0% | 14.6ms ± 0% | −21.41% | (p=0.029 n=4+4) |
VariableString-8 | 98.2ns ± 1% | 79.9ns ± 0% | −18.72% | (p=0.029 n=4+4) |
ListString-8 | 2.77µs ± 1% | 2.26µs ± 1% | −18.34% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/tpl/tplimpl | ||||
Partial-8 | 1.01µs ± 2% | 1.73µs ± 1% | +70.50% | (p=0.029 n=4+4) |
PartialCached-8 | 61.0ns ± 3% | 100.3ns ± 2% | +64.49% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/tpl/transform | ||||
UnmarshalString-8 | 1.14µs ± 1% | 1.29µs ± 0% | +13.17% | (p=0.029 n=4+4) |
UnmarshalResource-8 | 138ns ± 0% | 108ns ± 1% | −22.17% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/transform/urlreplacers | ||||
AbsURL-8 | 4.50µs ± 1% | 4.81µs ± 0% | +6.85% | (p=0.029 n=4+4) |
AbsURLSrcset-8 | 3.49µs ± 2% | 3.21µs ± 0% | −7.97% | (p=0.029 n=4+4) |
XMLAbsURLSrcset-8 | 3.41µs ± 1% | 3.23µs ± 0% | −5.27% | (p=0.029 n=4+4) |
XMLAbsURL-8 | 1.85µs ± 0% | 1.85µs ± 0% | ~ | (p=0.343 n=4+4) |
alloc/op | delta | |||
github.com/gohugoio/hugo/common/hreflect | ||||
IsTruthFul-8 | 0.00B | 0.00B | ~ | (all equal) |
github.com/gohugoio/hugo/common/maps | ||||
ScratchGet-8 | 0.00B | 0.00B | ~ | (all equal) |
github.com/gohugoio/hugo/helpers | ||||
StripHTML-8 | 736B ± 0% | 728B ± 0% | −1.09% | (p=0.029 n=4+4) |
TestTruncateWordsToWholeSentence-8 | 0.00B | 0.00B | ~ | (all equal) |
TestTruncateWordsToWholeSentenceOld-8 | 2.50kB ± 0% | 2.50kB ± 0% | ~ | (all equal) |
TotalWords-8 | 0.00B | 0.00B | ~ | (all equal) |
EmojiKyokomiFprint-8 | 31.4kB ± 0% | 31.4kB ± 0% | ~ | (all equal) |
EmojiKyokomiSprint-8 | 31.3kB ± 0% | 31.3kB ± 0% | ~ | (p=1.000 n=4+4) |
HugoEmoji-8 | 624B ± 0% | 616B ± 0% | −1.28% | (p=0.029 n=4+4) |
ReaderContains-8 | 1.26kB ± 0% | 1.26kB ± 0% | ~ | (all equal) |
MD5FromFileFast/full=false-8 | 240B ± 0% | 144B ± 0% | −40.00% | (p=0.029 n=4+4) |
MD5FromFileFast/full=true-8 | 32.9kB ± 0% | 32.9kB ± 0% | ~ | (p=0.429 n=4+4) |
UniqueStrings/Safe-8 | 224B ± 0% | 224B ± 0% | ~ | (all equal) |
UniqueStrings/Reuse_slice-8 | 96.0B ± 0% | 96.0B ± 0% | ~ | (all equal) |
UniqueStrings/Reuse_slice_sorted-8 | 32.0B ± 0% | 24.0B ± 0% | −25.00% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/hugofs | ||||
Walk-8 | 103kB ± 0% | 99kB ± 0% | −3.89% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/hugofs/glob | ||||
GetGlob-8 | 0.00B | 0.00B | ~ | (all equal) |
github.com/gohugoio/hugo/hugolib | ||||
Cascade/langs-1-8 | 2.33MB ± 0% | 2.25MB ± 0% | −3.37% | (p=0.029 n=4+4) |
Cascade/langs-3-8 | 3.31MB ± 0% | 3.21MB ± 0% | −2.93% | (p=0.029 n=4+4) |
Cascade/langs-5-8 | 4.32MB ± 0% | 4.20MB ± 0% | −2.62% | (p=0.029 n=4+4) |
Cascade/langs-7-8 | 5.37MB ± 0% | 5.23MB ± 0% | −2.64% | (p=0.029 n=4+4) |
Cascade/langs-9-8 | 6.44MB ± 0% | 6.27MB ± 0% | −2.57% | (p=0.029 n=4+4) |
ContentMap/CreateMissingNodes-8 | 14.9kB ± 0% | 14.4kB ± 0% | −3.11% | (p=0.029 n=4+4) |
GetPage-8 | 16.0B ± 0% | 16.0B ± 0% | ~ | (all equal) |
GetPageRegular/From_root-8 | 686B ± 0% | 239B ± 0% | −65.16% | (p=0.029 n=4+4) |
GetPageRegular/Page_relative-8 | 763B ± 0% | 324B ± 0% | −57.54% | (p=0.029 n=4+4) |
MergeByLanguage-8 | 51.5B ± 1% | 50.8B ± 1% | ~ | (p=0.286 n=4+4) |
PagesPrevNext/.Next-pages-300-8 | 0.00B | 0.00B | ~ | (all equal) |
PagesPrevNext/.Next-pages-5000-8 | 0.00B | 0.00B | ~ | (all equal) |
PagesPrevNext/.Prev-pages-300-8 | 0.00B | 0.00B | ~ | (all equal) |
PagesPrevNext/.Prev-pages-5000-8 | 0.00B | 0.00B | ~ | (all equal) |
PagesPrevNext/Pages.Next-pages-300-8 | 0.00B | 0.00B | ~ | (all equal) |
PagesPrevNext/Pages.Next-pages-5000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
PagesPrevNext/Pages.Prev-pages-300-8 | 0.00B | 0.00B | ~ | (all equal) |
PagesPrevNext/Pages.Prev-pages-5000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
PagesPrevNext/Pages.Shuffled.Next-pages-300-8 | 0.00B | 0.00B | ~ | (all equal) |
PagesPrevNext/Pages.Shuffled.Next-pages-5000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
PagesPrevNext/Pages.Shuffled.Prev-pages-300-8 | 0.00B | 0.00B | ~ | (all equal) |
PagesPrevNext/Pages.Shuffled.Prev-pages-5000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
PagesPrevNext/Pages.ByTitle.Next-pages-300-8 | 0.00B | 0.00B | ~ | (all equal) |
PagesPrevNext/Pages.ByTitle.Next-pages-5000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
ResourceChainPostProcess-8 | 36.4MB ± 1% | 33.0MB ± 1% | −9.26% | (p=0.029 n=4+4) |
ReplaceShortcodeTokens-8 | 3.07kB ± 0% | 3.07kB ± 0% | ~ | (all equal) |
BuildSite/Edit_Bundle_with_image-8 | 437kB ± 0% | 426kB ± 0% | −2.43% | (p=0.029 n=4+4) |
BuildSite/Edit_Bundle_with_JSON_file-8 | 216kB ± 0% | 205kB ± 0% | −4.93% | (p=0.029 n=4+4) |
BuildSite/Edit_Tags_and_categories-8 | 10.3MB ± 0% | 9.7MB ± 0% | −6.68% | (p=0.029 n=4+4) |
BuildSite/Edit_Canonify_URLs-8 | 84.2MB ± 0% | 85.6MB ± 0% | +1.67% | (p=0.029 n=4+4) |
BuildSite/Edit_Deep_content_tree-8 | 26.5MB ± 0% | 25.5MB ± 0% | −3.65% | (p=0.029 n=4+4) |
BuildSite/Edit_Many_HTML_templates-8 | 6.00MB ± 0% | 5.71MB ± 0% | −4.82% | (p=0.029 n=4+4) |
BuildSite/Edit_Page_collections-8 | 14.7MB ± 0% | 14.1MB ± 0% | −4.21% | (p=0.029 n=4+4) |
BuildSite/Edit_List_terms-8 | 1.83MB ± 0% | 1.72MB ± 0% | −6.04% | (p=0.029 n=4+4) |
BuildSite/Regular_Bundle_with_image-8 | 1.93MB ± 0% | 1.90MB ± 0% | −1.39% | (p=0.029 n=4+4) |
BuildSite/Regular_Bundle_with_JSON_file-8 | 1.71MB ± 0% | 1.68MB ± 0% | −1.54% | (p=0.029 n=4+4) |
BuildSite/Regular_Tags_and_categories-8 | 14.2MB ± 0% | 13.4MB ± 0% | −5.48% | (p=0.029 n=4+4) |
BuildSite/Regular_Canonify_URLs-8 | 89.2MB ± 0% | 90.5MB ± 0% | +1.42% | (p=0.029 n=4+4) |
BuildSite/Regular_Deep_content_tree-8 | 30.2MB ± 0% | 28.9MB ± 0% | −4.26% | (p=0.029 n=4+4) |
BuildSite/Regular_Many_HTML_templates-8 | 9.17MB ± 0% | 8.83MB ± 0% | −3.80% | (p=0.029 n=4+4) |
BuildSite/Regular_Page_collections-8 | 18.4MB ± 0% | 17.6MB ± 0% | −4.44% | (p=0.029 n=4+4) |
BuildSite/Regular_List_terms-8 | 3.96MB ± 0% | 3.82MB ± 0% | −3.64% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/identity | ||||
IdentityManager/Add-8 | 204B ± 7% | 131B ± 2% | −35.50% | (p=0.029 n=4+4) |
IdentityManager/Search-8 | 751B ± 0% | 311B ± 0% | −58.59% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/langs/i18n | ||||
I18nTranslate/all-present-8 | 0.00B | 0.00B | ~ | (all equal) |
I18nTranslate/present-in-default-8 | 112B ± 0% | 112B ± 0% | ~ | (all equal) |
I18nTranslate/present-in-current-8 | 0.00B | 0.00B | ~ | (all equal) |
I18nTranslate/missing-8 | 112B ± 0% | 112B ± 0% | ~ | (all equal) |
I18nTranslate/file-missing-8 | 304B ± 0% | 288B ± 0% | −5.26% | (p=0.029 n=4+4) |
I18nTranslate/context-provided-8 | 200B ± 0% | 192B ± 0% | −4.00% | (p=0.029 n=4+4) |
I18nTranslate/readingTime-one-8 | 384B ± 0% | 384B ± 0% | ~ | (all equal) |
I18nTranslate/readingTime-many-8 | 608B ± 0% | 600B ± 0% | −1.32% | (p=0.029 n=4+4) |
I18nTranslate/same-id-and-translation-8 | 0.00B | 0.00B | ~ | (all equal) |
I18nTranslate/same-id-and-translation-default-8 | 112B ± 0% | 112B ± 0% | ~ | (all equal) |
I18nTranslate/unknown-language-code-8 | 720B ± 0% | 696B ± 0% | −3.33% | (p=0.029 n=4+4) |
I18nTranslate/known-language-missing-plural-8 | 488B ± 0% | 472B ± 0% | −3.28% | (p=0.029 n=4+4) |
I18nTranslate/dotted-bare-key-8 | 0.00B | 0.00B | ~ | (all equal) |
I18nTranslate/lang-with-hyphen-8 | 384B ± 0% | 384B ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/markup/goldmark | ||||
SanitizeAnchorName-8 | 32.0B ± 0% | 24.0B ± 0% | −25.00% | (p=0.029 n=4+4) |
SanitizeAnchorNameAsciiOnly-8 | 48.0B ± 0% | 48.0B ± 0% | ~ | (all equal) |
SanitizeAnchorNameBlackfriday-8 | 184B ± 0% | 176B ± 0% | −4.35% | (p=0.029 n=4+4) |
SanitizeAnchorNameString-8 | 64.0B ± 0% | 56.0B ± 0% | −12.50% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/metrics | ||||
HowSimilar-8 | 624B ± 0% | 624B ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/output | ||||
Layout-8 | 0.00B | 0.00B | ~ | (all equal) |
LayoutUncached-8 | 6.34kB ± 0% | 6.34kB ± 0% | ~ | (p=1.000 n=4+4) |
github.com/gohugoio/hugo/parser/metadecoders | ||||
StringifyMapKeysStringsOnlyInterfaceMaps-8 | 1.01kB ± 0% | 1.01kB ± 0% | ~ | (all equal) |
StringifyMapKeysStringsOnlyStringMaps-8 | 0.00B | 0.00B | ~ | (all equal) |
StringifyMapKeysIntegers-8 | 1.01kB ± 0% | 1.01kB ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/parser/pageparser | ||||
ShortcodeLexer-8 | 119kB ± 0% | 118kB ± 0% | −0.10% | (p=0.029 n=4+4) |
Parse-8 | 17.0kB ± 0% | 17.0kB ± 0% | ~ | (all equal) |
ParseWithEmoji-8 | 33.0kB ± 0% | 33.0kB ± 0% | −0.02% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/publisher | ||||
ClassCollectorWriter-8 | 34.8kB ± 0% | 34.6kB ± 0% | −0.53% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/related | ||||
RelatedNewIndex/singles-8 | 21.9kB ± 0% | 21.9kB ± 0% | −0.06% | (p=0.029 n=4+4) |
RelatedNewIndex/all-8 | 23.7kB ± 0% | 23.7kB ± 0% | −0.07% | (p=0.029 n=4+4) |
RelatedMatchesIn-8 | 26.4kB ±26% | 26.4kB ±26% | ~ | (p=0.686 n=4+4) |
github.com/gohugoio/hugo/resources | ||||
ImageExif/Cold_cache-8 | 160kB ± 0% | 183kB ± 0% | +14.12% | (p=0.029 n=4+4) |
ImageExif/Cold_cache,_10-8 | 172kB ± 0% | 187kB ± 0% | +8.44% | (p=0.029 n=4+4) |
ImageExif/Warm_cache-8 | 12.9kB ± 0% | 10.9kB ± 0% | −15.76% | (p=0.029 n=4+4) |
ResizeParallel-8 | 2.02kB ± 0% | 2.61kB ± 0% | +28.92% | (p=0.029 n=4+4) |
ResourcesMatch-8 | 503B ± 0% | 504B ± 0% | ~ | (p=1.000 n=4+4) |
ResourcesMatchA100-8 | 0.00B | 0.00B | ~ | (all equal) |
AssignMetadata-8 | 1.34kB ± 0% | 0.85kB ± 0% | −36.90% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/resources/images/exif | ||||
DecodeExif-8 | 161kB ± 0% | 184kB ± 0% | +14.31% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/resources/page | ||||
PageCache-8 | 32.0B ± 0% | 24.0B ± 0% | −25.00% | (p=0.029 n=4+4) |
SearchPage/Shuffled-100-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/Shuffled-500-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/Shuffled-1000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
SearchPage/Shuffled-5000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
SearchPage/ByWeight-100-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/ByWeight-500-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/ByWeight-1000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
SearchPage/ByWeight-5000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
SearchPage/ByWeight.Reverse-100-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/ByWeight.Reverse-500-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/ByWeight.Reverse-1000-8 | 24.0B ± 0% | 24.0B ± 0% | ~ | (all equal) |
SearchPage/ByWeight.Reverse-5000-8 | 24.0B ± 0% | 24.0B ± 0% | ~ | (all equal) |
SearchPage/ByDate-100-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/ByDate-500-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/ByDate-1000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
SearchPage/ByDate-5000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
SearchPage/ByPublishDate-100-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/ByPublishDate-500-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/ByPublishDate-1000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
SearchPage/ByPublishDate-5000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
SearchPage/ByTitle-100-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/ByTitle-500-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/ByTitle-1000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
SearchPage/ByTitle-5000-8 | 8.00B ± 0% | 8.00B ± 0% | ~ | (all equal) |
SearchPage/ByTitle_Linear-100-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/ByTitle_Linear-500-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/ByTitle_Linear-1000-8 | 0.00B | 0.00B | ~ | (all equal) |
SearchPage/ByTitle_Linear-5000-8 | 0.00B | 0.00B | ~ | (all equal) |
SortByWeightAndReverse-8 | 64.0B ± 0% | 48.0B ± 0% | −25.00% | (p=0.029 n=4+4) |
PermalinkExpand-8 | 400B ± 0% | 304B ± 0% | −24.00% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/resources/resource_transformers/postcss | ||||
ImportResolver-8 | 39.6kB ± 0% | 36.6kB ± 0% | −7.46% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/tpl/internal/go_templates/htmltemplate | ||||
CSSEscaper-8 | 336B ± 0% | 336B ± 0% | ~ | (all equal) |
CSSEscaperNoSpecials-8 | 0.00B | 0.00B | ~ | (all equal) |
DecodeCSS-8 | 160B ± 0% | 160B ± 0% | ~ | (all equal) |
DecodeCSSNoSpecials-8 | 0.00B | 0.00B | ~ | (all equal) |
CSSValueFilter-8 | 96.0B ± 0% | 96.0B ± 0% | ~ | (all equal) |
CSSValueFilterOk-8 | 48.0B ± 0% | 48.0B ± 0% | ~ | (all equal) |
EscapedExecute-8 | 624B ± 0% | 544B ± 0% | −12.82% | (p=0.029 n=4+4) |
HTMLNospaceEscaper-8 | 368B ± 0% | 368B ± 0% | ~ | (all equal) |
HTMLNospaceEscaperNoSpecials-8 | 32.0B ± 0% | 32.0B ± 0% | ~ | (all equal) |
StripTags-8 | 224B ± 0% | 224B ± 0% | ~ | (all equal) |
StripTagsNoSpecials-8 | 112B ± 0% | 112B ± 0% | ~ | (all equal) |
JSValEscaperWithNum-8 | 40.0B ± 0% | 40.0B ± 0% | ~ | (all equal) |
JSValEscaperWithStr-8 | 384B ± 0% | 384B ± 0% | ~ | (all equal) |
JSValEscaperWithStrNoSpecials-8 | 96.0B ± 0% | 96.0B ± 0% | ~ | (all equal) |
JSValEscaperWithObj-8 | 448B ± 0% | 440B ± 0% | −1.79% | (p=0.029 n=4+4) |
JSValEscaperWithObjNoSpecials-8 | 160B ± 0% | 152B ± 0% | −5.00% | (p=0.029 n=4+4) |
JSStrEscaperNoSpecials-8 | 0.00B | 0.00B | ~ | (all equal) |
JSStrEscaper-8 | 336B ± 0% | 336B ± 0% | ~ | (all equal) |
JSRegexpEscaperNoSpecials-8 | 0.00B | 0.00B | ~ | (all equal) |
JSRegexpEscaper-8 | 336B ± 0% | 336B ± 0% | ~ | (all equal) |
TemplateSpecialTags-8 | 50.1kB ± 0% | 49.9kB ± 0% | −0.31% | (p=0.029 n=4+4) |
URLEscaper-8 | 336B ± 0% | 336B ± 0% | ~ | (all equal) |
URLEscaperNoSpecials-8 | 112B ± 0% | 112B ± 0% | ~ | (all equal) |
URLNormalizer-8 | 176B ± 0% | 176B ± 0% | ~ | (all equal) |
URLNormalizerNoSpecials-8 | 112B ± 0% | 112B ± 0% | ~ | (all equal) |
SrcsetFilter-8 | 160B ± 0% | 160B ± 0% | ~ | (all equal) |
SrcsetFilterNoSpecials-8 | 160B ± 0% | 160B ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate/parse | ||||
ParseLarge-8 | 5.46MB ± 0% | 5.46MB ± 0% | −0.01% | (p=0.029 n=4+4) |
VariableString-8 | 72.0B ± 0% | 72.0B ± 0% | ~ | (all equal) |
ListString-8 | 1.61kB ± 0% | 1.47kB ± 0% | −8.46% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/tpl/tplimpl | ||||
Partial-8 | 1.15kB ± 0% | 1.06kB ± 0% | −7.64% | (p=0.029 n=4+4) |
PartialCached-8 | 0.00B | 0.00B | ~ | (all equal) |
github.com/gohugoio/hugo/tpl/transform | ||||
UnmarshalString-8 | 832B ± 0% | 736B ± 0% | −11.54% | (p=0.029 n=4+4) |
UnmarshalResource-8 | 144B ± 0% | 144B ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/transform/urlreplacers | ||||
AbsURL-8 | 1.57kB ± 0% | 1.57kB ± 0% | ~ | (all equal) |
AbsURLSrcset-8 | 1.29kB ± 0% | 1.28kB ± 0% | −0.62% | (p=0.029 n=4+4) |
XMLAbsURLSrcset-8 | 1.37kB ± 0% | 1.36kB ± 0% | −0.59% | (p=0.029 n=4+4) |
XMLAbsURL-8 | 928B ± 0% | 928B ± 0% | ~ | (all equal) |
allocs/op | delta | |||
github.com/gohugoio/hugo/common/hreflect | ||||
IsTruthFul-8 | 0.00 | 0.00 | ~ | (all equal) |
github.com/gohugoio/hugo/common/maps | ||||
ScratchGet-8 | 0.00 | 0.00 | ~ | (all equal) |
github.com/gohugoio/hugo/helpers | ||||
StripHTML-8 | 4.00 ± 0% | 4.00 ± 0% | ~ | (all equal) |
TestTruncateWordsToWholeSentence-8 | 0.00 | 0.00 | ~ | (all equal) |
TestTruncateWordsToWholeSentenceOld-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
TotalWords-8 | 0.00 | 0.00 | ~ | (all equal) |
EmojiKyokomiFprint-8 | 71.0 ± 0% | 71.0 ± 0% | ~ | (all equal) |
EmojiKyokomiSprint-8 | 66.0 ± 0% | 66.0 ± 0% | ~ | (all equal) |
HugoEmoji-8 | 13.0 ± 0% | 13.0 ± 0% | ~ | (all equal) |
ReaderContains-8 | 20.0 ± 0% | 20.0 ± 0% | ~ | (all equal) |
MD5FromFileFast/full=false-8 | 5.00 ± 0% | 4.00 ± 0% | −20.00% | (p=0.029 n=4+4) |
MD5FromFileFast/full=true-8 | 5.00 ± 0% | 5.00 ± 0% | ~ | (all equal) |
UniqueStrings/Safe-8 | 7.00 ± 0% | 7.00 ± 0% | ~ | (all equal) |
UniqueStrings/Reuse_slice-8 | 6.00 ± 0% | 6.00 ± 0% | ~ | (all equal) |
UniqueStrings/Reuse_slice_sorted-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/hugofs | ||||
Walk-8 | 2.22k ± 0% | 2.22k ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/hugofs/glob | ||||
GetGlob-8 | 0.00 | 0.00 | ~ | (all equal) |
github.com/gohugoio/hugo/hugolib | ||||
Cascade/langs-1-8 | 33.1k ± 0% | 33.2k ± 0% | +0.20% | (p=0.029 n=4+4) |
Cascade/langs-3-8 | 47.4k ± 0% | 47.6k ± 0% | +0.58% | (p=0.029 n=4+4) |
Cascade/langs-5-8 | 62.2k ± 0% | 62.6k ± 0% | +0.69% | (p=0.029 n=4+4) |
Cascade/langs-7-8 | 78.0k ± 0% | 78.6k ± 0% | +0.75% | (p=0.029 n=4+4) |
Cascade/langs-9-8 | 95.0k ± 0% | 95.7k ± 0% | +0.78% | (p=0.029 n=4+4) |
ContentMap/CreateMissingNodes-8 | 258 ± 0% | 254 ± 0% | −1.55% | (p=0.029 n=4+4) |
GetPage-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
GetPageRegular/From_root-8 | 10.0 ± 0% | 6.0 ± 0% | −40.00% | (p=0.029 n=4+4) |
GetPageRegular/Page_relative-8 | 13.0 ± 0% | 10.0 ± 0% | −23.08% | (p=0.029 n=4+4) |
MergeByLanguage-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
PagesPrevNext/.Next-pages-300-8 | 0.00 | 0.00 | ~ | (all equal) |
PagesPrevNext/.Next-pages-5000-8 | 0.00 | 0.00 | ~ | (all equal) |
PagesPrevNext/.Prev-pages-300-8 | 0.00 | 0.00 | ~ | (all equal) |
PagesPrevNext/.Prev-pages-5000-8 | 0.00 | 0.00 | ~ | (all equal) |
PagesPrevNext/Pages.Next-pages-300-8 | 0.00 | 0.00 | ~ | (all equal) |
PagesPrevNext/Pages.Next-pages-5000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
PagesPrevNext/Pages.Prev-pages-300-8 | 0.00 | 0.00 | ~ | (all equal) |
PagesPrevNext/Pages.Prev-pages-5000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
PagesPrevNext/Pages.Shuffled.Next-pages-300-8 | 0.00 | 0.00 | ~ | (all equal) |
PagesPrevNext/Pages.Shuffled.Next-pages-5000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
PagesPrevNext/Pages.Shuffled.Prev-pages-300-8 | 0.00 | 0.00 | ~ | (all equal) |
PagesPrevNext/Pages.Shuffled.Prev-pages-5000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
PagesPrevNext/Pages.ByTitle.Next-pages-300-8 | 0.00 | 0.00 | ~ | (all equal) |
PagesPrevNext/Pages.ByTitle.Next-pages-5000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
ResourceChainPostProcess-8 | 803k ± 1% | 817k ± 1% | ~ | (p=0.114 n=4+4) |
ReplaceShortcodeTokens-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
BuildSite/Edit_Bundle_with_image-8 | 3.99k ± 0% | 4.03k ± 0% | +0.93% | (p=0.029 n=4+4) |
BuildSite/Edit_Bundle_with_JSON_file-8 | 3.99k ± 0% | 4.03k ± 0% | +0.93% | (p=0.029 n=4+4) |
BuildSite/Edit_Tags_and_categories-8 | 241k ± 0% | 244k ± 0% | +0.97% | (p=0.029 n=4+4) |
BuildSite/Edit_Canonify_URLs-8 | 364k ± 0% | 366k ± 0% | +0.39% | (p=0.029 n=4+4) |
BuildSite/Edit_Deep_content_tree-8 | 264k ± 0% | 268k ± 0% | +1.60% | (p=0.029 n=4+4) |
BuildSite/Edit_Many_HTML_templates-8 | 90.3k ± 0% | 91.1k ± 0% | +0.90% | (p=0.029 n=4+4) |
BuildSite/Edit_Page_collections-8 | 153k ± 0% | 156k ± 0% | +1.37% | (p=0.029 n=4+4) |
BuildSite/Edit_List_terms-8 | 30.4k ± 0% | 30.5k ± 0% | +0.53% | (p=0.029 n=4+4) |
BuildSite/Regular_Bundle_with_image-8 | 23.2k ± 0% | 23.2k ± 0% | ~ | (p=1.000 n=4+4) |
BuildSite/Regular_Bundle_with_JSON_file-8 | 23.3k ± 0% | 23.3k ± 0% | −0.01% | (p=0.029 n=4+4) |
BuildSite/Regular_Tags_and_categories-8 | 284k ± 0% | 287k ± 0% | +1.05% | (p=0.029 n=4+4) |
BuildSite/Regular_Canonify_URLs-8 | 387k ± 0% | 388k ± 0% | +0.20% | (p=0.029 n=4+4) |
BuildSite/Regular_Deep_content_tree-8 | 307k ± 0% | 309k ± 0% | +0.63% | (p=0.029 n=4+4) |
BuildSite/Regular_Many_HTML_templates-8 | 129k ± 0% | 130k ± 0% | +0.54% | (p=0.029 n=4+4) |
BuildSite/Regular_Page_collections-8 | 199k ± 0% | 200k ± 0% | +0.55% | (p=0.029 n=4+4) |
BuildSite/Regular_List_terms-8 | 53.5k ± 0% | 53.6k ± 0% | +0.11% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/identity | ||||
IdentityManager/Add-8 | 2.00 ± 0% | 1.00 ± 0% | −50.00% | (p=0.029 n=4+4) |
IdentityManager/Search-8 | 15.0 ± 0% | 11.0 ± 0% | −26.67% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/langs/i18n | ||||
I18nTranslate/all-present-8 | 0.00 | 0.00 | ~ | (all equal) |
I18nTranslate/present-in-default-8 | 5.00 ± 0% | 5.00 ± 0% | ~ | (all equal) |
I18nTranslate/present-in-current-8 | 0.00 | 0.00 | ~ | (all equal) |
I18nTranslate/missing-8 | 5.00 ± 0% | 5.00 ± 0% | ~ | (all equal) |
I18nTranslate/file-missing-8 | 12.0 ± 0% | 12.0 ± 0% | ~ | (all equal) |
I18nTranslate/context-provided-8 | 5.00 ± 0% | 5.00 ± 0% | ~ | (all equal) |
I18nTranslate/readingTime-one-8 | 3.00 ± 0% | 3.00 ± 0% | ~ | (all equal) |
I18nTranslate/readingTime-many-8 | 9.00 ± 0% | 9.00 ± 0% | ~ | (all equal) |
I18nTranslate/same-id-and-translation-8 | 0.00 | 0.00 | ~ | (all equal) |
I18nTranslate/same-id-and-translation-default-8 | 5.00 ± 0% | 5.00 ± 0% | ~ | (all equal) |
I18nTranslate/unknown-language-code-8 | 14.0 ± 0% | 14.0 ± 0% | ~ | (all equal) |
I18nTranslate/known-language-missing-plural-8 | 8.00 ± 0% | 8.00 ± 0% | ~ | (all equal) |
I18nTranslate/dotted-bare-key-8 | 0.00 | 0.00 | ~ | (all equal) |
I18nTranslate/lang-with-hyphen-8 | 3.00 ± 0% | 3.00 ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/markup/goldmark | ||||
SanitizeAnchorName-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
SanitizeAnchorNameAsciiOnly-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
SanitizeAnchorNameBlackfriday-8 | 6.00 ± 0% | 6.00 ± 0% | ~ | (all equal) |
SanitizeAnchorNameString-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/metrics | ||||
HowSimilar-8 | 19.0 ± 0% | 19.0 ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/output | ||||
Layout-8 | 0.00 | 0.00 | ~ | (all equal) |
LayoutUncached-8 | 112 ± 0% | 112 ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/parser/metadecoders | ||||
StringifyMapKeysStringsOnlyInterfaceMaps-8 | 6.00 ± 0% | 6.00 ± 0% | ~ | (all equal) |
StringifyMapKeysStringsOnlyStringMaps-8 | 0.00 | 0.00 | ~ | (all equal) |
StringifyMapKeysIntegers-8 | 6.00 ± 0% | 6.00 ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/parser/pageparser | ||||
ShortcodeLexer-8 | 916 ± 0% | 916 ± 0% | ~ | (all equal) |
Parse-8 | 34.0 ± 0% | 34.0 ± 0% | ~ | (all equal) |
ParseWithEmoji-8 | 16.0 ± 0% | 16.0 ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/publisher | ||||
ClassCollectorWriter-8 | 149 ± 0% | 143 ± 0% | −4.03% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/related | ||||
RelatedNewIndex/singles-8 | 199 ± 0% | 199 ± 0% | ~ | (all equal) |
RelatedNewIndex/all-8 | 200 ± 0% | 200 ± 0% | ~ | (all equal) |
RelatedMatchesIn-8 | 196 ± 5% | 196 ± 5% | ~ | (p=1.000 n=4+4) |
github.com/gohugoio/hugo/resources | ||||
ImageExif/Cold_cache-8 | 1.27k ± 0% | 1.27k ± 0% | +0.16% | (p=0.029 n=4+4) |
ImageExif/Cold_cache,_10-8 | 1.43k ± 0% | 1.36k ± 0% | −4.88% | (p=0.029 n=4+4) |
ImageExif/Warm_cache-8 | 351 ± 0% | 327 ± 0% | −6.84% | (p=0.029 n=4+4) |
ResizeParallel-8 | 48.0 ± 0% | 55.0 ± 0% | +14.58% | (p=0.029 n=4+4) |
ResourcesMatch-8 | 2.75 ±27% | 2.75 ±27% | ~ | (p=1.000 n=4+4) |
ResourcesMatchA100-8 | 0.00 | 0.00 | ~ | (all equal) |
AssignMetadata-8 | 120 ± 0% | 80 ± 0% | −33.33% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/resources/images/exif | ||||
DecodeExif-8 | 1.20k ± 0% | 1.20k ± 0% | +0.50% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/resources/page | ||||
PageCache-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
SearchPage/Shuffled-100-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/Shuffled-500-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/Shuffled-1000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
SearchPage/Shuffled-5000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
SearchPage/ByWeight-100-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/ByWeight-500-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/ByWeight-1000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
SearchPage/ByWeight-5000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
SearchPage/ByWeight.Reverse-100-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/ByWeight.Reverse-500-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/ByWeight.Reverse-1000-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
SearchPage/ByWeight.Reverse-5000-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
SearchPage/ByDate-100-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/ByDate-500-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/ByDate-1000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
SearchPage/ByDate-5000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
SearchPage/ByPublishDate-100-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/ByPublishDate-500-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/ByPublishDate-1000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
SearchPage/ByPublishDate-5000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
SearchPage/ByTitle-100-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/ByTitle-500-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/ByTitle-1000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
SearchPage/ByTitle-5000-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
SearchPage/ByTitle_Linear-100-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/ByTitle_Linear-500-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/ByTitle_Linear-1000-8 | 0.00 | 0.00 | ~ | (all equal) |
SearchPage/ByTitle_Linear-5000-8 | 0.00 | 0.00 | ~ | (all equal) |
SortByWeightAndReverse-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
PermalinkExpand-8 | 13.0 ± 0% | 10.0 ± 0% | −23.08% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/resources/resource_transformers/postcss | ||||
ImportResolver-8 | 195 ± 0% | 186 ± 0% | −4.62% | (p=0.029 n=4+4) |
github.com/gohugoio/hugo/tpl/internal/go_templates/htmltemplate | ||||
CSSEscaper-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
CSSEscaperNoSpecials-8 | 0.00 | 0.00 | ~ | (all equal) |
DecodeCSS-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
DecodeCSSNoSpecials-8 | 0.00 | 0.00 | ~ | (all equal) |
CSSValueFilter-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
CSSValueFilterOk-8 | 3.00 ± 0% | 3.00 ± 0% | ~ | (all equal) |
EscapedExecute-8 | 18.0 ± 0% | 18.0 ± 0% | ~ | (all equal) |
HTMLNospaceEscaper-8 | 3.00 ± 0% | 3.00 ± 0% | ~ | (all equal) |
HTMLNospaceEscaperNoSpecials-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
StripTags-8 | 3.00 ± 0% | 3.00 ± 0% | ~ | (all equal) |
StripTagsNoSpecials-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
JSValEscaperWithNum-8 | 3.00 ± 0% | 3.00 ± 0% | ~ | (all equal) |
JSValEscaperWithStr-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
JSValEscaperWithStrNoSpecials-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
JSValEscaperWithObj-8 | 3.00 ± 0% | 3.00 ± 0% | ~ | (all equal) |
JSValEscaperWithObjNoSpecials-8 | 3.00 ± 0% | 3.00 ± 0% | ~ | (all equal) |
JSStrEscaperNoSpecials-8 | 0.00 | 0.00 | ~ | (all equal) |
JSStrEscaper-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
JSRegexpEscaperNoSpecials-8 | 0.00 | 0.00 | ~ | (all equal) |
JSRegexpEscaper-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
TemplateSpecialTags-8 | 191 ± 0% | 191 ± 0% | ~ | (all equal) |
URLEscaper-8 | 4.00 ± 0% | 4.00 ± 0% | ~ | (all equal) |
URLEscaperNoSpecials-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
URLNormalizer-8 | 3.00 ± 0% | 3.00 ± 0% | ~ | (all equal) |
URLNormalizerNoSpecials-8 | 2.00 ± 0% | 2.00 ± 0% | ~ | (all equal) |
SrcsetFilter-8 | 3.00 ± 0% | 3.00 ± 0% | ~ | (all equal) |
SrcsetFilterNoSpecials-8 | 3.00 ± 0% | 3.00 ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate/parse | ||||
ParseLarge-8 | 80.0k ± 0% | 80.0k ± 0% | ~ | (p=1.000 n=4+4) |
VariableString-8 | 3.00 ± 0% | 3.00 ± 0% | ~ | (all equal) |
ListString-8 | 31.0 ± 0% | 31.0 ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/tpl/tplimpl | ||||
Partial-8 | 37.0 ± 0% | 37.0 ± 0% | ~ | (all equal) |
PartialCached-8 | 0.00 | 0.00 | ~ | (all equal) |
github.com/gohugoio/hugo/tpl/transform | ||||
UnmarshalString-8 | 6.00 ± 0% | 5.00 ± 0% | −16.67% | (p=0.029 n=4+4) |
UnmarshalResource-8 | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
github.com/gohugoio/hugo/transform/urlreplacers | ||||
AbsURL-8 | 16.0 ± 0% | 16.0 ± 0% | ~ | (all equal) |
AbsURLSrcset-8 | 23.0 ± 0% | 23.0 ± 0% | ~ | (all equal) |
XMLAbsURLSrcset-8 | 21.0 ± 0% | 21.0 ± 0% | ~ | (all equal) |
XMLAbsURL-8 | 8.00 ± 0% | 8.00 ± 0% | ~ | (all equal) |
Улучшить эту страницу