0

I am attempting to profile a Python app that uses the fastavro library.

  1. I am profiling using the Datadog Profiler
  2. I run the application using the command ddtrace-run python -m app.main
  3. I enable the profiler using the environment variable DD_PROFILING_ENABLE=true

This results in the following performance degredation in fastavro.schemaless_reader

  1. With profiler enabled, the average execution time is ~38ms
  2. With profiler disabled, the average is ~6ms

Has anyone else tried to profile the fastavro library and could shine a light on why the profiler is causing such a performance loss?

enter image description here

0 Answers0