Comparison of using split('T') or slice(0, indexOf('T')) in parsing out a date from an ISO string.
Does not include any extra checking from the indexOf to ensure proper formatting of the string.
Does not include array size checking after the split.
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