As a Toronto native, who now lives in Silicon Valley (part of the brain drain from Waterloo), there is a reason why everyone leaves Toronto/Canada - the salaries are simply laughable when compared to the bay area. The only reason you would stay in Toronto for a job in tech is if you wanted to stay close to family, or your girlfriend/boyfriend/spouse. Or, you just hate money and being at the center of the tech industr…
I moved from Toronto to SF last year, I think the CoL-adjusted salary is pretty close, or actually better in Toronto. This is comparing good mid-sized company in both cities. One misconception I think, is that many people moved to SV for big-N companies and comparing that with average Toronto salaries.
This is a common misconception, and is promoted by a lot of tech companies in Toronto. It actually frustrates me whenever someone says that the compensation in the bay vs Toronto is the same after adjusting for CoL.
It's really not. You will end up with more absolute savings by working in the bay area, than you will in Toronto in a similar living situation.