mrverdant13 / coverde

A set of commands for coverage trace files manipulation.
MIT License
30 stars 11 forks source link

perf: use mustache templates instead of html manipulation #49

Closed mrverdant13 closed 2 years ago

mrverdant13 commented 2 years ago

Details

Use mustache templates for coverage report generation instead of direct HTML manipulation.

mrverdant13 commented 2 years ago

Comparison Results

For the same lcov.info file, these were the resulting report generation time values:

Iteration Time [ms] (HTML Manipulation) Time [ms] (Mustache Templates)
01 6761 10151
02 6722 10329
03 6583 10288
04 6323 10215
05 6453 10572
06 6523 11761
07 6641 9961
08 6795 10376
09 6654 10552
10 6630 10944

Thus, report generation based on HTML manipulation is being kept.