Base Class for $module-name$
Project description
website: https://arrizza.com/python-falcon-logger
Summary
This is a python module that provides a way to run a fast logger. Peregrine Falcons are the fastest animals alive (according to Google). They go that fast by having as minimal drag as possible.
- See Quick Start for information on using scripts.
- See xplat-utils submodule for information on the submodule.
Sample code
see sample.py for a full example
from falcon_logger import FalconLogger
Sample
Use doit script to run the logger and compare against other loggers.
To run the FalconLogger:
./doit falcon
./doit falcon --numlines=100000
To run the others loggers:
./doit stdout # no file, just stdout
./doit normal # use the python logger
./doit rsyslog # use the rsyslog python module
Comparing Times
The overall time is very dependent on which OS you use and the speed of your computer
on MSYS2 for 100,000 lines:
stdout: total time: 3170.0 ms
falcon: total time: 3623.9 ms
normal: total time: 5722.8 ms
rsyslog fails with an exception
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
falcon_logger-0.0.2.tar.gz
(30.0 kB
view details)
File details
Details for the file falcon_logger-0.0.2.tar.gz.
File metadata
- Download URL: falcon_logger-0.0.2.tar.gz
- Upload date:
- Size: 30.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d021a5f90fce3c1c79c0167e00ac2b6b55686525ee73ed9b052622cbe7529ba4
|
|
| MD5 |
68c65f31dbab15cdb8d1beaacfad3de8
|
|
| BLAKE2b-256 |
48c3c53618ea0cba7d78a06cf5ba79e555e3af73320fa12c9c2ce03bc5dc7396
|