From 93dfeb443b108d5356a799814f1d137ae6ae4826 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Mon, 10 Oct 2022 19:23:35 +0200 Subject: [PATCH] Add web worker stress application Signed-off-by: Severin Kaderli --- notes/time_report.md | 10 +++++++++- src/web-worker-stress/index.html | 30 ++++++++++++++++++++++++++++++ src/web-worker-stress/worker.js | 1 + 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 src/web-worker-stress/index.html create mode 100644 src/web-worker-stress/worker.js diff --git a/notes/time_report.md b/notes/time_report.md index c9e4d4f..784f0fb 100644 --- a/notes/time_report.md +++ b/notes/time_report.md @@ -58,4 +58,12 @@ * https://www.youtube.com/watch?v=L_ZBn6RVJ88 # 2022-10-06 -* +* Mail Exchange with Reto about Experiments +* Work on persona + +# 2022-10-07 +* More experiments and data analysis +* Decide on CPU as sender element + +# 2022-10-10 +* Create small application to create stress on CPU using web workers diff --git a/src/web-worker-stress/index.html b/src/web-worker-stress/index.html new file mode 100644 index 0000000..e21af01 --- /dev/null +++ b/src/web-worker-stress/index.html @@ -0,0 +1,30 @@ + + + + + + + Document + + + Hello World! + + + diff --git a/src/web-worker-stress/worker.js b/src/web-worker-stress/worker.js new file mode 100644 index 0000000..d9bfc37 --- /dev/null +++ b/src/web-worker-stress/worker.js @@ -0,0 +1 @@ +while(true){}