add profiling to important methods
fix build
Merge pull request #68 from Wikidata-lib/add_profiler

add profiling to important methods