The Canadian economy expanded by 0.3% in May, the same as the downwardly revised pace in April, Statistics Canada reported today.

The May figure beat the analyst consensus expectation of a bare 0.1% increase, but April’s rise in GDP was marked down from the previously estimated 0.4%.

The government agency said the energy sector expanded, but car sales and home building slowed.

Industrial production, which includes the output of factories, mines and utilities, advanced by 0.6%, led by a 1.7% jump in the mining and energy-extraction sector.

Manufacturing output edged up 0.2%.

There was increased investment-related production, such as wholesaling of machinery and construction of commercial and industrial buildings.