Skip to content

samontea/pace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pace

Build Status

This library implements a light weight process that can be used to easily analyse the performance of your application.

Available in Hex

Usage

  1. Add pace to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:pace, "~> 0.1.0"}]
end
```
  1. Start a pace process sometime in your application:
```elixir
{:ok, pid} = Pace.start_link
```
  1. The following api is exposed:
```elixir
send pid, :restart # restarts the server's timer
send pid, {:lap, "message"} # logs a lap message containing the pid of the pace process, current time ellapsed, and message
send pid, :stop  # logs a termination message containing the pid of the pace process and current time ellapsed. the timer process is stopped
```

About

Lightweight elixir performance analysis library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages