compiler warnings and small perftest changes