FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Remove excessive use of GC via system property by greenwoodma · Pull Request #33 · GateNLP/gateplugin-StringAnnotation · GitHub

Remove excessive use of GC via system property - #33

Merged
ianroberts merged 2 commits into
masterfrom
gc
Feb 8, 2024
Merged

Remove excessive use of GC via system property#33
ianroberts merged 2 commits into
masterfrom
gc

Conversation

Copy link
Copy Markdown

Hide all explicit uses of GC in the code behind a system property. This means in normal usage there won't be a huge slow down due to the GC calls. If you want to profile memory consumption during development then set the system property com.jpetrak.gate.stringannotation.profile to a none null value.

github-actions Bot commented Feb 8, 2024

Copy link
Copy Markdown

Test Results

12 tests  ±0   12 ✅ ±0   31s ⏱️ -11s
 4 suites ±0    0 💤 ±0 
 4 files   ±0    0 ❌ ±0 

Results for commit 131390e. ± Comparison against base commit 58f5ad6.

Copy link
Copy Markdown
Author

Just for interest the automated tests completed almost a minute faster than last time they ran!

ianroberts left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM - @johann-petrak any thoughts before we merge this?

Copy link
Copy Markdown
Collaborator

LGTM - @johann-petrak any thoughts before we merge this?

Totally fine with this! I think the whole GCing+reporting was from when I wanted to convince people that using this implementation has advantages :D

ianroberts merged commit 2397426 into master Feb 8, 2024
greenwoodma mentioned this pull request Dec 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL