3 ms·
This doesn't absolutely answer your question (as it doesn't look at the size of the actual firmware), but I did a quick run to see how the amount of code change
by capableweb 4y ago
This doesn't absolutely answer your question (as it doesn't look at the size of the actual firmware), but I did a quick run to see how the amount of code changes in OpenWRT between releases, this is the results:
https://pastebin.com/04s1TL49 https://pastebin.com/04s1TL49
Here is the latest ones:
files blank comment code
refs/tags/v21.02.4|Sun Oct 9 19:13:29 2022 +0200
SUM: 6152 105231 202581 1095273
refs/tags/v22.03.1|Sun Oct 9 19:32:19 2022 +0200
SUM: 4942 92892 159322 758218
refs/tags/v22.03.2|Sat Oct 15 14:45:57 2022 +0200
SUM: 4989 94174 160996 761805
refs/tags/v21.02.5|Sat Oct 15 15:02:44 2022 +0200
SUM: 6154 105246 202621 1095314
refs/tags/v22.03.3|Tue Jan 3 22:03:37 2023 +0100
SUM: 5030 94497 161559 768700
refs/tags/v22.03.4|Sun Apr 9 23:35:19 2023 +0100
SUM: 5054 94718 162335 769994
refs/tags/v21.02.6|Sun Apr 9 23:38:36 2023 +0100
SUM: 6283 106307 206300 1107999
Command used:
$ git for-each-ref --sort=creatordate --format '%(refname)|%(creatordate)' refs/tags | while read line ; do echo $line; cloc --git $(echo $line | cut -d '|' -f 1) --processes 32 --quiet | grep SUM ; done