Remove a knn example and add some flags for cpu profiling