Popularity
3.6
Declining
Activity
0.0
Stable
1
5
0
Monthly Downloads: 4
Programming language: Haskell
License: MIT License
Tags:
System
tagged-timers alternatives and similar packages
Based on the "System" category.
Alternatively, view tagged-timers alternatives based on common mentions on social networks and blogs.
-
plugins
Dynamic linking and runtime evaluation of Haskell, and C, including dependency chasing and package resolution. -
language-puppet
A library to work with Puppet manifests, test them and eventually replace everything ruby. -
ascii-progress
A simple Haskell progress bar for the console. Heavily borrows from TJ Holowaychuk's Node.JS project
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Promo
workos.com
Do you think we are missing an alternative of tagged-timers or a related project?
README
README
tagged-timers
is a simple package for timing different IO
that occur within a program and grouping the results
according to dynamically generated String
tags.
Example
For a simple example of usage, see examples/Example.hs
main :: IO ()
main = do
t <- T.create
T.time t "cat" (act "cat" 5)
T.time t "dog" (act "dog" 2)
r <- T.result t
putStrLn $ "Time Result: " ++ show r
which, when executed, yields the following behavior:
Prelude> :l examples/Example.hs
...
*Main> main
Starting action cat
Oh so sleepy...
(5 seconds later)
Finished action cat
Starting action dog
Oh so sleepy...
(2 seconds later)
Finished action dog
Time Result: [("cat",5.003739s),("dog",2.003825s)]