-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What would I measure, Prolog with or without garbage collection? #331
Comments
Yeah it can also crash your Prolog system:
Thats the source code: |
I'm not sure if I understand your question but you can turn off GC with prev := debug.SetGCPercent(-1)
defer func() {
_ = debug.SetGCPercent(prev)
}() |
debug.SetGCPercent is only Go GC? Usually the host the variable trailing list smaller. Basically there are WAMs with For example Scryer Prolog doesn't have Prolog GC yet. So in SWI-Prolog you can run the bomb example |
I'm afraid that this library is not based on WAM. |
Lets say this feature request would be realized:
feature request time/1 and/or statistics/2 predicate
#327
What would I measure a Prolog system with or without
garbage collection? Is this documented somewhere?
For example Scryer Prolog has no garbage collection,
and it still fails with this test case:
The above preferably runs indefinitely. For
example SWI-Prolog can run it indefinitely.
The text was updated successfully, but these errors were encountered: