Gist 3852c326558525b3b1489f2be531f4b5
✓ Published0🌍 Public
Aabernier
Last edited Aug 26, 2020
Created on Aug 25, 2020
This visualization compares the performance of two JavaScript implementations of a "persistent bugger" algorithm, which calculates the persistence of a number by repeatedly multiplying its digits until a single digit remains. The benchmark, generated via perf.link, plots execution times (in operations per second) for the recursive `persistenceA` versus the iterative `persistenceB` approach across repeated test runs on the input 99999. A linked bar chart visualizes the runtime distributions, making it easy to compare the relative efficiency of the two code variants.
AI-generated descriptionPersistent bugger: https://www.codewars.com/kata/55bf01e5a717a0d57e0000ec
📊 Compare perfs of different versions.