QuantConnect / pythonnet

Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers.
http://pythonnet.github.io
MIT License
28 stars 27 forks source link

Remove ExceptionTypeCache #26

Closed Martin-Molinero closed 5 years ago

Martin-Molinero commented 5 years ago

Performance testing: [MASTER C# IndicatorRibbonBenchmark] From PR https://github.com/QuantConnect/pythonnet/pull/24 132.27 seconds at 6k data points per second. Processing total of 782,223 data points. 130.07 seconds at 6k data points per second. Processing total of 782,223 data points. 129.88 seconds at 6k data points per second. Processing total of 782,223 data points. [This PR C# IndicatorRibbonBenchmark] 127.63 seconds at 6k data points per second. Processing total of 782,223 data points. 127.83 seconds at 6k data points per second. Processing total of 782,223 data points. 127.44 seconds at 6k data points per second. Processing total of 782,223 data points.

Results suggest the cache wasn't really giving a significant performance improvement.