no test, no run :D

I tested below one-liner.
---
$ rm -rf /tmp/profile; mkdir /tmp/profile; plackup -Ilib -e 'enable_if{ 1 } Profiler::NYTProf, enable_profile => sub {1}, after_profile => sub { my ($self, $env) = @_; system "nytprofhtml", "-f", $self->report_path($env), "-o", ($self->profile_dir)->($self, $env)."/nytprof", "--open"; }, profile_dir => sub {"/tmp/profile"}; sub { [200,[],["ok"]] }'
---
Try to load Time::HiRes, and use generate profile id.
If Time::HiRes does not exists, use time().
edited example PSGI app
added document
Merge pull request #2 from bayashi/more_flexible

オプション群を大幅拡張
refactored.
Add example
Chante default output dir from /tmpto current dir
renamed some veriables
fixed POD
Merge pull request #3 from bayashi/fix_document

fixed POD
removed unnecessary line
fixed example PSGI file
Wrote changes for 0.02
Excluded MYMETA files
Merge pull request #4 from bayashi/tiny_fix

Tiny fix
bump version