3 ms·
It's definitely not how to show that, but if you follow their link (https://docs.google.com/spreadsheets/d/1VJFx-kQ4KjJmnpDXIEaig-cVAAJtpIGLZNbv3Lr4CR0/edit?usp
by tyingq 6y ago
It's definitely not how to show that, but if you follow their link (https://docs.google.com/spreadsheets/d/1VJFx-kQ4KjJmnpDXIEaig-cVAAJtpIGLZNbv3Lr4CR0/edit?usp=sharing https://docs.google.com/spreadsheets/d/1VJFx-kQ4KjJmnpDXIEai...), you'll see the numbers.
The math is like, if it did use 100mb, and now it uses 25mb, that's 300% less, because 25mb is the "100%", and you reduced by that amount 3 times. Odd.
- huseyinkeles 6y agoIs this the lingo that statisticians/mathematicians use? I’d just say 75% drop for 100mb to 25mb.
- tyingq 6y agoNo, I think it's just weird :)
- pletnes 6y agoNo, it’s plain wrong. You could say «vue 2 uses 120% more memory than vue3», but vice versa is thus a different percentage (yes, 75%).
- stjohnswarts 6y agoyou would say "use 1/4th as much memory" if you were a normal person.
- spurgu 6y agoYeah. 25 to 100 would be a 300% increase. 100 to 25 would be a 75% reduction.
- gonzus 6y agoThis kind of arithmetic is always very unclear and causes all kinds of confusion / miscommunication. This is why I always prefer to be explicit about the absolute numbers (maybe in addition to the relative percentages): "it used 100 mb and now it uses 25 mb (which is a 300% reduction when looking at the final result / which is a 75% reduction based on the initial result)".
- tln 6y agoThanks for the link. Someone just started fixing the spreadsheet right now!
- lioeters 6y agoThank you for the link to the spreadsheet. Exact numbers they show are: - "120% less memory usage" - From 9.9 Mb to 4.5 Mb - "Up to 133% faster updates" - 13.18 (ms?) to 5.64 In both cases, the formula to calculate the percentage is: = ( PREVIOUS - CURRENT ) / CURRENT Oh, actually they just changed it. For the memory usage, it's now: = ( PREVIOUS - CURRENT ) / PREVIOUS ..which shows a more intuitive result: -54.55%.
- infogulch 6y agoThese "75%"/"300%" numbers are ridiculous, the two numbers are calculated completely differently. At least be consistent. 100/25-1 = +3 = 300% increase 25/100-1 = -0.92 = 92% decrease
- stjohnswarts 6y agoThe only people I've seen use such nonsense were marketing departments. Do they think people can't do basic fractions any more?