DMPRoadmap / roadmap

DCC/UC3 collaboration for a data management planning tool
MIT License
106 stars 109 forks source link

Address Bullet Warnings #3423

Closed aaronskiba closed 5 months ago

aaronskiba commented 5 months ago

Changes proposed in this PR:

The following table compares the development branch to aaron/bullet-fixes by making requests to the various paths affected by this PR. The benchmarking was performed via ab - Apache HTTP server benchmarking tool alongside a recent (May 2024) db dump from the production environment of DMP Assistant. In both cases, 100 consecutive requests were performed to each path and the recorded result is the mean request time (ms).

Example request:

$ ab -n 100 -k -C "_dmp_roadmap_session=COOKIE_VALUE" -l http://127.0.0.1:3000/PATH/TO/PAGE
Path mean request time (ms) before mean request time (ms) now % change
/org_admin/plans (as org_admin type user) 504.502 440.714 -12.64%
/org_admin/plans (as super_admin type user) 165.98 130.816 -21.19%
/org_admin/templates 328.156 162.383 -50.52%
/org_admin/templates/organisational 1022.935 969.703 -5.20%
/org_admin/templates/customisable 815.51 725.64 -11.02%
/org_admin/templates/3925/phases/3994/edit 83.591 85.359 +2.12%
/org/admin/guidance/8/admin_index 56.504 53.465 -5.38%
/org/admin/users/admin_index 144.602 139.837 -3.30%
/paginable/guidance_groups/index/ALL 14.816 12.931 -12.72%
/public_plans 135.203 99.571 -26.35%
/super_admin/api_clients/new 1625.653 653.083 -59.83%
/super_admin/orgs 1101.719 62.133 -94.36%
/paginable/orgs/index/ALL 3316.224 331.831 -90%
github-actions[bot] commented 5 months ago
1 Error
:no_entry_sign:

Please include a CHANGELOG entry.

You can find it at [CHANGELOG.md](https://github.com/DMPRoadmap/roadmap/blob/main/CHANGELOG.md).
1 Warning
:warning: There are code changes, but no corresponding tests. Please include tests if this PR introduces any modifications in behavior. \n
Ignore this warning if the PR ONLY contains translation.io synced updates.

Generated by :no_entry_sign: Danger

aaronskiba commented 5 months ago

Closing this PR and will instead break it into smaller PRs.