profiling on mnist