I'm using the q library for promises. I have the following code
Q.all([thumbnailPromise, createSnapshotPromise]).spread((thumbnailRep, snapshotRep) => {
How do I determine how long each promise took? Specifically, how long thumbnailPromise and createSnapshotPromise took separately?
Note that I want to keep the promises running in parallel.
Thanks!