worth the time or effort spent
In front of a noun, worthwhile is usually written as one word: a worthwhile effort. After a verb it may be written either as one or two words: The effort was not worthwhile (or worth while). The two parts of the word are separated in the phrase to be worth one's while: It wouldn't be worth your while to spend too much time on the job