From fd6217709d6f92ab13eeec2f36e7dcc3c8a903d3 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 10 Jan 2024 16:32:36 +0100 Subject: [PATCH 1/6] Update setup.md Signed-off-by: Dennis Eichhorn --- general/setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/general/setup.md b/general/setup.md index 1cb55bb..a843e43 100755 --- a/general/setup.md +++ b/general/setup.md @@ -88,7 +88,7 @@ This will only setup the application including some dummy data and also perform 6. Run `npm install` inside `Karaka` 7. Create the database `omd` in your database management software 8. Adjust the `demoSetup/config.php` file according to your settings (e.g. database user name + password) -9. Run `php demoSetup/setup.php` inside `Karaka` (takes a long time: > 1h) +9. Run `php demoSetup/setup.php` inside `Karaka` (takes a long time: > 2h) After the installation you'll have access to the following content: From d11ee79f9a281d24dbbf742b93e4ddaf36dff6dd Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 10 Jan 2024 16:36:45 +0100 Subject: [PATCH 2/6] Update setup.md Signed-off-by: Dennis Eichhorn --- general/setup.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/general/setup.md b/general/setup.md index a843e43..4fee0cc 100755 --- a/general/setup.md +++ b/general/setup.md @@ -42,11 +42,11 @@ Which IDE or editor a developer uses is up to the individual developer. From exp ## Application install options -Option 1 and 2 require you to install the dev tools in advance! +Option 2 and 3 require you to install the dev tools in advance! 1. Option: Use the virtual machine we provide for devs which has everything setup and configured to start almost instantly after download **Most Recommended** 2. Option: Installs the application (with a lot of dummy data, this may take a long time). **Recommended (slow but a lot of useful data)** -3. Option: Installs the application (with or without performing tests). **Recommended (slow and much less useful data)** +3. Option: Installs the application (with or without performing tests). **(slow and much less useful data)** ### Option 1: VM From cc14968d0360890cf0e410a2367a9e79527e48be Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 10 Jan 2024 16:46:30 +0100 Subject: [PATCH 3/6] Update inspections.md Signed-off-by: Dennis Eichhorn --- quality/inspections.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quality/inspections.md b/quality/inspections.md index 7615720..66e18c9 100755 --- a/quality/inspections.md +++ b/quality/inspections.md @@ -15,6 +15,7 @@ The following automated tests must pass without errors, failures and warnings fo * `npx eslint ./ -c Build/Config/.eslintrc.json` * `npx jasmine-node ./` * `./cOMS/tests/test.sh` +* sitespeed.io ./Build/Helper/Scripts/sitespeedDemoUrls.txt -b chrome --outputFolder /var/www/html/sitespeed * see [other checks](#other-checks) below

@@ -234,7 +235,7 @@ npx eslint ./ -c Build/Config/.eslintrc.json You can perform sitespeed checks by using sitespeed.io. Example: ```sh -sitespeed.io http://192.168.178.38 -b chrome --outputFolder /var/www/html/sitespeed +sitespeed.io ./Build/Helper/Scripts/sitespeedDemoUrls.txt -b chrome --outputFolder /var/www/html/sitespeed ``` ### Custom scripts From b2f68a22b940356bf212b7b855abe2ff40e4659a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 10 Jan 2024 16:47:01 +0100 Subject: [PATCH 4/6] Update inspections.md Signed-off-by: Dennis Eichhorn --- quality/inspections.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quality/inspections.md b/quality/inspections.md index 66e18c9..faf17d2 100755 --- a/quality/inspections.md +++ b/quality/inspections.md @@ -15,7 +15,7 @@ The following automated tests must pass without errors, failures and warnings fo * `npx eslint ./ -c Build/Config/.eslintrc.json` * `npx jasmine-node ./` * `./cOMS/tests/test.sh` -* sitespeed.io ./Build/Helper/Scripts/sitespeedDemoUrls.txt -b chrome --outputFolder /var/www/html/sitespeed +* `sitespeed.io ./Build/Helper/Scripts/sitespeedDemoUrls.txt -b chrome --outputFolder /var/www/html/sitespeed` * see [other checks](#other-checks) below

From 4f9a7c0a4ac364c3a2d582b00c353525f0ed4ab1 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 10 Jan 2024 16:56:36 +0100 Subject: [PATCH 5/6] Update inspections.md Signed-off-by: Dennis Eichhorn --- quality/inspections.md | 1 - 1 file changed, 1 deletion(-) diff --git a/quality/inspections.md b/quality/inspections.md index faf17d2..4b1f88b 100755 --- a/quality/inspections.md +++ b/quality/inspections.md @@ -15,7 +15,6 @@ The following automated tests must pass without errors, failures and warnings fo * `npx eslint ./ -c Build/Config/.eslintrc.json` * `npx jasmine-node ./` * `./cOMS/tests/test.sh` -* `sitespeed.io ./Build/Helper/Scripts/sitespeedDemoUrls.txt -b chrome --outputFolder /var/www/html/sitespeed` * see [other checks](#other-checks) below

From d19879b3d578e31af7f3ac516498e49bdb9078e7 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 10 Jan 2024 17:15:17 +0100 Subject: [PATCH 6/6] Update inspections.md Signed-off-by: Dennis Eichhorn --- quality/inspections.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/quality/inspections.md b/quality/inspections.md index 4b1f88b..7840d7d 100755 --- a/quality/inspections.md +++ b/quality/inspections.md @@ -237,6 +237,14 @@ You can perform sitespeed checks by using sitespeed.io. Example: sitespeed.io ./Build/Helper/Scripts/sitespeedDemoUrls.txt -b chrome --outputFolder /var/www/html/sitespeed ``` +### Profiles & trace views + +1. Automatic trace and benchmark generation with every web request in `/var/www/html/webgrind/Logs` +2. Webgrind view `http://vm_ip:82` +3. Trace visualization `http://vm_ip:81` + 1. Download the latest trace from `http://vm_ip:82/Logs` + 2. Drag and drop that downloaded `*.xt` file in the trace visualizer + ### Custom scripts #### C++ tests