Some profiling
Starting to reimplement the public API
performance testing