add speed test for dynamic function