cheese. while cheese is generally considered a comfort food, it is actually one of the worst foods to eat before bed. strong or aged cheese, as well as preserved meats such as bacon, ham and pepperoni, contains naturally high levels of the amino acid, tyramine, which make us feel alert.