We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using Python 3.11 on Arch Linux and found the example work but my other function does not work. Here is my source code:
import logging logging.basicConfig(filename='app.log', filemode='w', format='%(name)s - %(levelname)s - %(message)s') def _log(): for _ in range(10_000): logging.warning(_) def _print(): for _ in range(10_000): print(_) __benchmarks__ = [ (_log, _print, "Log >< Print"), (_print, _log, "Print >< Log") ]
Output:
The text was updated successfully, but these errors were encountered:
Sorry I found the instruction here:
Benchmarks should be in a directory and must have the filename bench_{name}.py.
Closed!
Sorry, something went wrong.
No branches or pull requests
I am using Python 3.11 on Arch Linux and found the example work but my other function does not work. Here is my source code:
Output:
The text was updated successfully, but these errors were encountered: