A performance analysis between two similar but different approaches to solving modern frontend templating