Skip to content

Fixing performance issues. Time measurement#4

Merged
Kaspazza merged 8 commits intomainfrom
fix-performanse-stackoverflow-stats
Nov 15, 2025
Merged

Fixing performance issues. Time measurement#4
Kaspazza merged 8 commits intomainfrom
fix-performanse-stackoverflow-stats

Conversation

@SerhiiRI
Copy link
Contributor

@SerhiiRI SerhiiRI commented Nov 9, 2025

ADDED hooks keys to execute-config
ADDED :stats key to status-map with detail measurements of every executing steps in microsecs.
ADDED :uuid key to status-map
ADDED *execute-internals* dynamic variable to keep infromation about the execution: uuid of execute invokaction and stack of parrent uuid if the execute are called inside the execute
UPDATED added in-degre counting in topological sort. UPDATED build path-trie for reduce searching dependency time.

ADDED hooks keys to *execute-config*
ADDED :stats key to status-map with detail measurements of every
executing steps in microsecs.
ADDED :uuid key to status-map
ADDED `*execute-internals*` dynamic variable to keep infromation
about the execution: uuid of execute invokaction and stack of parrent
uuid if the execute are called inside the execute
UPDATED added in-degre counting in topological sort.
UPDATED build path-trie for reduce searching dependency time.
@SerhiiRI SerhiiRI self-assigned this Nov 9, 2025
@SerhiiRI SerhiiRI added the bug Something isn't working label Nov 9, 2025
ADDED Dependency load testcases. Result ploted by JFreeChart in png
files
ADDED InDepth execution with flamechart for query.
ADDED RealWorld average time example
@SerhiiRI SerhiiRI requested a review from Kaspazza November 11, 2025 12:25
@SerhiiRI SerhiiRI marked this pull request as ready for review November 11, 2025 12:25
Copy link
Contributor

@Kaspazza Kaspazza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally really awesome changes! Now the lib is sooo faast! 🚄
And the perf tests done really well! I've run all tests and all is green and perf is really fast.

For hooks, it would be better to use middleware pattern, but the idea itself is great, it really makes sense to add option for side-effects that don't belong to instructions.

SerhiiRI and others added 3 commits November 13, 2025 16:44
Co-authored-by: Mateusz Mazurczak <kaspazza@gmail.com>
Co-authored-by: Mateusz Mazurczak <kaspazza@gmail.com>
@Kaspazza
Copy link
Contributor

I will tinker about middlewares in the meantime, and for now it's all good

@Kaspazza Kaspazza merged commit ad8cd00 into main Nov 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants