Which is faster, splitting a string into pieces and searching for something specific at the start of each section, or just searching for the splitter and what comes after
Comparing performance of: split some vs indexOf vs includes
Memory measurements supported only in Chrome.
For precise memory measurements Chrome must be launched with --enable-precise-memory-info flag.
More information: Monitoring JavaScript Memory