microsoft / microsoft/AttackSurfaceAnalyzer
Improve write speed by changing serialized data format
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3k
- Forks
- 294
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating the database write path and its current JSON serialization, then benchmark it against MessagePack, Utf8json, Newtonsoft, System.Text.Json, and binary serialization. Done means the benchmarks establish whether a significant improvement exists and a faster format is selected if justified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- database, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100