Usage note as a conjunction, while is used to indicate that two events are happening at the same time (while i was preparing the hamburger patties, she sliced the onions and tomatoes), but it can also be used to contrast two clauses in a nontemporal way (while the h is silent in the word honest, it is pronounced in the word hostile).
While or whilst? While and whilst mean the same when we use them as conjunctions. They both mean during the time that something else happens, or in contrast with something else.
Collins english dictionary - complete & unabridged 2012 digital edition william collins sons & co.
Whilst | Definition of Whilst by Merriam Webster
whilst definition whilst means the same as the conjunction while 1.
Whilst whilst is a formal word which has the same meaning as while.
Whilst | Definition of Whilst by Oxford Dictionary on ...