chromium/third_party/blink/perf_tests/bindings/resources/worker-structured-clone.js

self.onmessage = function(e) {
  var data = e.data;  // Force deserialization
  var workerDeserialize = performance.now();
  self.postMessage({'recieveddData' : data,
                    'workerTimeOrigin' : performance.timeOrigin,
                    'workerDeserialize' : workerDeserialize});
};