test/benchmark: benchmark the time to pack and unpack dirnodes See also the prof_benchmarks() function in this file which will run the benchmarks under profiling.