Right now we're building the DBIC schema each time at runtime. Not only is this slow, but its hard to debug and the DBIx::Class::Schema::Loader recommends against it.
Switch to building the schema files at module build time. This will require separating the database creation from the BackPAN::Index which it should be anyway.
Right now we're building the DBIC schema each time at runtime. Not only is this slow, but its hard to debug and the DBIx::Class::Schema::Loader recommends against it.
Switch to building the schema files at module build time. This will require separating the database creation from the BackPAN::Index which it should be anyway.
The feature/schema_at_build branch exists for this issue.
This will also help debug rt.cpan.org 82107.