microsoft / AttackSurfaceAnalyzer

Attack Surface Analyzer can help you analyze your operating system's security configuration for changes during software installation.
MIT License
2.68k stars 271 forks source link

Improve write speed by changing serialized data format #680

Open gfs opened 1 year ago

gfs commented 1 year ago

Is your feature request related to a problem? Please describe. I suspect (requires benchmarking confirmation) that a large portion of the time spent for database writes is due to the json serialization of the object. We should explore the available serialization methods for C# and choose the fastest one - if there is a significant difference in practice.

Options: MessagePack Utf8json Newtonsoft System.text.json Binary serialization