Test repo source code size during tests: 7.2 MiB
Full ToC removal with hack:Test repo output size: 166.6 MB -> 114.2 MB, so ToC was 31 %
function renderTocFromEntryList({ add_test_instrumentation, entry_list, descendant_count_html, tocIdPrefix }) {
+ return ''
Let's check header knockout with:down to 151.7 MiB, so headers were about 9%.
[Macro.HEADER_MACRO_NAME]: function(ast, context, opts={}) {
return ''
And finally removing the toplevel stuff:down to 161.8 MB, so these were only about 3%.
toplevel_child_modifier: function(ast, context, out) {
+ return 'out'
These should be the only bulk things we have really, everything else will likely be much harder to get wrong.