Fix checking for page numbers. Add execution time to compare different API implementations.