Merge pull request #146 from ishitatsuyuki/profiling