Skip to content

Commit

Permalink
Performance improvements and simplifications
Browse files Browse the repository at this point in the history
- Monitors are now stored in an ETS table. Simple profiling revealed
  that a lot of time was being taken in `lists:keytake/3` looking up the
  refs by pid. This should provide O(1) constant time lookup.
- Workers are now no longer required to handle `stop` messages. Workers
  are terminated using `supervisor:terminate_child/2` and the shutdown
  strategy is no longer brutal_kill.
- Other various cleanups.
  • Loading branch information
Devin Torres committed Apr 27, 2012
1 parent f2bfc2b commit c7fbad1
Show file tree
Hide file tree
Showing 4 changed files with 145 additions and 201 deletions.

0 comments on commit c7fbad1

Please sign in to comment.