fix profiler bug when file only present in index
add profiler demo for Lorenz tradeoff comparison