Skip to main content

module for faster python logging

Project description

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.

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


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.1.0.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file falcon_logger-0.1.0.tar.gz.

File metadata

  • Download URL: falcon_logger-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for falcon_logger-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1bdd1cc94d5df83fcaad20527cbc907cec6c6328f5406cdb120ba0137ce0af5c
MD5 9255e7171cddea7647c54d6b3d5535d3
BLAKE2b-256 83e6c3508c9653bfed82709d8565bf8425c8d9297fd699822d211d03d8b5cbda

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page