
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
MiniBench provides a simple framework for benchmarking following the unittest
module pattern.
minibench requires Python 2.7+.
You can install minibench with pip:
::
$ pip install minibench
or with easy_install:
::
$ easy_install minibench
Write your benchmarks as you would write you unittests.
Just create a .bench.py
file.
::
# fake.bench.py
from minibench import Benchmark
class FakeBenchmark(Benchmark):
'''Fake benchmark'''
def bench_fake(self):
'''Run my bench'''
# Do something
Then run it with the bench
command
::
$ bench
>>> Fake benchmark (x5)
Run my bench ......................................... ✔ (0.1234s)
The documentation is hosted on Read the Docs <http://minibench.readthedocs.org/en/0.1.2/>
_
-u/--unit
option-p/--precision
optionFAQs
A really simple benchmark tool
We found that minibench demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.