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