BSD Ports

devel/py-ttictoc 0.5.6_2 DragonFly

Time execution of blocks of code

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel
Package size
7.5 KiB, 31.7 KiB installed

Description

Time execution of blocks of code.

Tested against python 3.6+, but should work with other versions.

The easiest way to time something is with tic and toc:

import time from ttictoc import tic,toc tic() time.sleep(1) elapsed = toc() print('Elapsed time:',elapsed)

In the other systems

The newest version among them is 0.5.6, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-ttictoc0.5.6_2 newestnone known-[email protected]-
FreeBSDdevel/py-ttictoc0.5.6_2 newestnone known-[email protected]-
HardenedBSDdevel/py-ttictoc0.5.6_2 newestno data-[email protected]-
GhostBSDdevel/py-ttictoc0.5.6_2 newestno data-[email protected]-

Install

Binary package:

pkg install py311-ttictoc

From DPorts:

cd /usr/dports/devel/py-ttictoc && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 4

No port depends on this one.