Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Refactor annotation handling #8

Closed
wants to merge 14 commits into from
Closed

Conversation

thekid
Copy link
Member

@thekid thekid commented Dec 28, 2015

No description provided.

@thekid
Copy link
Member Author

thekid commented Dec 28, 2015

Code is nicer, but memory usage is also up:

Before:

Timm@slate ~/devel/xp/core [seven]
$ unittest src/test/config/unittest/core.ini
# ...
✓: 2085/2115 run (30 skipped), 2085 succeeded, 0 failed
Memory used: 9637.11 kB (10428.49 kB peak)
Time taken: 1.273 seconds

After:

Timm@slate ~/devel/xp/core [seven]
$ unittest src/test/config/unittest/core.ini
# ...
✓: 2085/2115 run (30 skipped), 2085 succeeded, 0 failed
Memory used: 16506.51 kB (17400.98 kB peak)
Time taken: 1.290 seconds

@thekid
Copy link
Member Author

thekid commented Dec 28, 2015

After this commit: using PHP 5.5 iterators:

Timm@slate ~/devel/xp/core [seven]
$ unittest src/test/config/unittest/core.ini
# ...
✓: 2085/2115 run (30 skipped), 2085 succeeded, 0 failed
Memory used: 15354.34 kB (16214.02 kB peak)
Time taken: 1.275 seconds

@thekid
Copy link
Member Author

thekid commented Dec 29, 2015

Cannot solve the memory issues, this is worth rewriting from scratch, but may serve as inspiration.

@thekid thekid closed this Dec 29, 2015
@thekid thekid deleted the refactor/annotation-handling branch December 29, 2015 10:23
@thekid thekid mentioned this pull request Dec 29, 2015
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant