added jandex support, measuring scan function