From wiki it’s a benzo so it will work in a simmilar way to other benzo’s like valium – so maybe someone who has experience of those for insomnia could share. The text book answer is it will speed up falling asleep, prolong sleep but will probably lower the quality of sleep by reducing the amount of time spent in deep sleep. Benzo’s can be an effective short term (2 weeks) solution to insomnia.