One click importer using WP Importer is too slooooowww...

Hello Guys,

I am creating my first WP theme and I have problems with import. I’ve coded one-click import using Wordpress Importer to import all data (posts, media, menus etc), but unfortunetly WP Importer is slow and my main demo which contains a lot of media & posts import about 5-6minutes… This is too long especially when hostings has time limits.

I’ve read somewhere in Internet that to speed up import I must to code your own importer to eliminate ‘bottleneck’ but I dont have idea how to do it. Maybe you had similar problem and know how to speed up import, how to optymalize WP Importer or have knowledge where is bottleneck?

Thanks guys for your help.