ptime is described as 'will run any specified command and parameters, and measure the execution time (run time) in seconds, accurate to 5 millisecond or better. It is an automatic process timer, or program timer used for benchmark purposes' and is an app in the Development category. There are four alternatives to ptime for Linux, Mac, Android and BSD. The best alternative is BusyBox, which is both free and Open Source. Other great apps like ptime are GNU Core Utilities (Free, Open Source), Toybox (Linux command line utilities) (Free, Open Source) and RustyBox (Free, Open Source).
BusyBox is a single binary that provides several stripped-down Unix tools in a single executable. It runs in a variety of POSIX environments such as Linux, Android, FreeBSD and others. It was specifically created for embedded operating systems with very limited resources.
Toybox combines common Linux command line utilities together into a single BSD-licensed executable that's simple, small, fast, reasonably standards-compliant, and powerful enough to turn Android into a development environment.