This is the *old* version of episodes.js that has existed for ~2 years. I discovered several flaws with this code. The primary issue was that window.postMessage was used to signal marks and measures, but the epoch time (new Date) was measured in the postMessage handler. Because messages (events) are not synchronous, it is possible for the postMessage handler to be delayed causing the time measurements to be later than they should be. I embarked on a rewrite to correct this by making the calls more synchronous, and also to make the API easier for users by masking the postMessage parts.
This is the *old* version of episodes.js that has existed for ~2 years. I discovered several flaws with this code. The primary issue was that window.postMessage was used to signal marks and measures, but the epoch time (new Date) was measured in the postMessage handler. Because messages (events) are not synchronous, it is possible for the postMessage handler to be delayed causing the time measurements to be later than they should be. I embarked on a rewrite to correct this by making the calls more synchronous, and also to make the API easier for users by masking the postMessage parts.
bltb/episodes,SotirisValogiannis/episodes,bltb/episodes,SotirisValogiannis/episodes,SotirisValogiannis/episodes,bltb/episodes