Optimize Analyze Endpoint #111
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: serg2-mirrors/GDBrowser#111
Loading…
Reference in a new issue
No description provided.
Delete branch "better-analyze"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Through the power of some extremely messy code I have managed to heavily speed up the analysis of levels.
Comparisons:
Ocular Miracle:
Glowy:
AppleDynamix:
Comparisons were done using
console.time()
right after zlib decompression and right before request sending.In terms of best performance changing commits by what I remember:
Interestingly, something in here seems to fix #108, but I can't quite tell why, probably just when I did the switch statement stuff.
The git history was spammed in an attempt to better explain what I did, I would definitely recommend squashing if this gets pulled.
I assume things can be optimized much more but this was my work after a couple days and it was starting to get too unreadable :p
Wow.