Update worker.js
This commit is contained in:
parent
aaf5952ded
commit
6d81d05014
|
@ -17,7 +17,7 @@ function record() {
|
||||||
// Save start timestamp
|
// Save start timestamp
|
||||||
start = performance.now();
|
start = performance.now();
|
||||||
|
|
||||||
// TODO (Exercise 3): Record data for TRACE_LENGTH seconds and save values to T.
|
// TODO (Exercise 2-2): Record data for TRACE_LENGTH seconds and save values to T.
|
||||||
|
|
||||||
// Once done recording, send result to main thread
|
// Once done recording, send result to main thread
|
||||||
postMessage(JSON.stringify(T));
|
postMessage(JSON.stringify(T));
|
||||||
|
|
Loading…
Reference in New Issue