after perf improvements and experimentation
This commit is contained in:
@@ -5,6 +5,21 @@ eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOiIxNTcxODU5OTU0IiwiZXhwIjoiMTU3MjQ
|
||||
|
||||
## IMMEDIATE ITEMS
|
||||
|
||||
PERFORMANCE CHANGE
|
||||
Baseline from before doing anything seeding a medium level with full text
|
||||
2020-01-21 16:49:17.4662|INFO|Seeder|75 Users seeded in 2279 ms
|
||||
2020-01-21 16:49:39.4481|INFO|Seeder|500 Widgets seeded in 21968 ms
|
||||
|
||||
After round one of improvements (less text in seed data notes, not calling savechanges or add async)
|
||||
//about 2 seconds came from the async db stuff and the rest was from using less text so less indexing which isn't really a permanent solution just a minor one
|
||||
2020-01-23 16:57:57.0422|INFO|Seeder|75 Users seeded in 2398 ms
|
||||
2020-01-23 16:58:11.9983|INFO|Seeder|500 Widgets seeded in 14958 ms
|
||||
|
||||
TODO: Search indexing is painfully slow, it accounts for 16 of 22 seconds when creating 500 widgets with full paragraphs of text
|
||||
- Try to see if it's just one part of the operation by timing it
|
||||
- Re-code it not using EF but directly interacting with the DB
|
||||
- Maybe it's a case for stored procedures or something?
|
||||
|
||||
|
||||
TODO: DataFilter how to distinguish between filtering on specific ID value or on value column
|
||||
- Might need to add a filter on ID type of thing maybe?
|
||||
@@ -18,6 +33,8 @@ UPDATE SPEC DOCS with new format and names etc or at least remove nonsense as ne
|
||||
|
||||
UPDATE MANUAL API REGARDING LISTS
|
||||
|
||||
|
||||
|
||||
TODO: Need route to gather all object role rights in a format useful to display in UI so that a biz manager can see at a glance the rights for different roles to objects
|
||||
- This way it's dynamic and picked up from the code itself which is always the source of truth so no need to put in the manual
|
||||
- Would likely want to display multiple ways: for a specific object or role or selected user maybe too in the user info form ("effective roles")
|
||||
|
||||
Reference in New Issue
Block a user