Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
hugolib, tpl: Get rid of some redundant viper calls #3292
Count of viper calls by building https://github.com/rdwatters/hugo-docs-concept
Performance gain: about 0.5-1 sec by building hugodocs.info on my MacBook Air 2014/1,4 GHz Intel Core i5/4 GB 1600 MHz DDR3
@bep I appreciate if you will provide benchmarks
In my tests it saves some allocations compared to current master, but is about the same in speed department (there is an error margin here at about 3 percent or something):
But I guess this depends on what feature the sites I have in my test uses.