mapping.cpp now does basic performance testing.