DB write latency in BadgerDB high when the size of the data increases exponentially

Can you share some CPU profiles and logs? We can try to figure out why are badger writes slow.
If you have a test that can reproduce the behavior, that would be very helpful.