Spped issue with handlebar.js

New Member
1 0 0

I have created a product filter app that uses handlebar.js But after using this js, speed of the website gets slower from 2 to 5 seconds. If I don't use this js, then website speed gets back to 2 seconds. I have implemented handlebar js according to the documentation provided. Here is the url that I follow : https://handlebarsjs.com/guide/. But i am not getting why the speed gets slower after use of handlebar.js. Can anyone suggest me how can I improve my website speed. 
Thanks in Advance!