Feature/performance improvement

I wrote benchmark script and improve performance.