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

feat: support enabling various runtime utilities via feature flags #251

Closed
wants to merge 6 commits into from

Conversation

nyannyacha
Copy link
Collaborator

What kind of change does this PR introduce?

Feature

Description

This PR allows to activate following runtime utilities:

  • Replace to MiMalloc allocator (via cli/mimalloc feature)
  • Add console-subscriber dependency so tokio-console can be attached into the process (via cli/console feature)

@nyannyacha
Copy link
Collaborator Author

rebased

@laktek
Copy link
Contributor

laktek commented Mar 19, 2024

@nyannyacha do you think we still need this?

@nyannyacha
Copy link
Collaborator Author

@laktek

Hmmm... tokio-console is useful for asynchronous debugging.

and mimalloc is known to perform well, although only a long-term comparison with glibc allocators will tell.

so hard to tell right now 🙄

(cherry picked from commit 7a3c48b7a95a0e6152faf590925b439bcc4f6d71)

# Conflicts:
#	.cargo/config.toml
(cherry picked from commit ecae97f2ad1ef088b6e2ce70485e5ce02235a590)
(cherry picked from commit d53a95461a23ad7f8ec340fd36212c479a4359d4)
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

2 participants