Improves config implementations and adds performance tests