Originally Posted by rfctex
In reality, it only took about five minutes to do so.
And there have been times where I've been through where it's taken 30. It all depends on the lines and the mood of BCIS/Customs that day. (Note that, in addition to clearing customs, you will also clear immigration in YVR.)
Mike