add luatrace and identify bottleneck