Skip to content

hattajr/ward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wards: A Simple python time profiler

Yet another Python library for function timing with interactive visualizations.

GIF Description

Usage

    from ward import ward
    ward.remove()

    @ward.watchit
    def func_1():
        return sleep(0.3)

    @ward.watchit
    def func_2():
        return sleep(0.5)

    @ward.watchit
    def func_3():
        sl = [0.15, 0.20, 0.30, 0.2]
        for i in sl:
            func_4(i)

    func_1()
    func_2()
    func_3()

Warning

This software is unfinished. Keep your expectations low.

Please, read CONTRIBUTING.md before making a PR.

About

Wards: A Simple python time profiler

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages