Skip to content
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

performance improvements by removing unnecessary parallelism #23

Merged
merged 6 commits into from
Apr 25, 2019

Conversation

erdos
Copy link
Owner

@erdos erdos commented Apr 25, 2019

this change removes the usage of parallelism by eliminating future calls in process.clj.

  1. This lets us remove multithreading from the compiled native-image version of the standalone application reducing executable file size by about 4% and runtime by almost 50%.

  2. Removes the need to call (shutdown-agents) after using the library to shut down Clojure's agent thread pools.

@erdos erdos changed the title performance improvements performance improvements by removing parallelism Apr 25, 2019
@erdos erdos merged commit 4e0fd4a into master Apr 25, 2019
@erdos erdos deleted the feature/singlethreaded branch April 25, 2019 19:58
erdos added a commit that referenced this pull request Apr 25, 2019
Removed call to future macro in process.clj eliminates the need to use clojure's agent pool.
@erdos erdos changed the title performance improvements by removing parallelism performance improvements by removing unnecessary parallelism Apr 25, 2019
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.

None yet

1 participant