I use ravendb as embedded database in my winforms project. Everything works as it should but I do need to check with someone startup time of winform main window. When I'm added IDocumentStore initialization startup time is increased by 5,6 seconds.
inside MainForm.cs I have
private IDocumentStore store = new EmbeddableDocumentStore {
RunInMemory = false };
public MainForm()
{
InitializeComponent();
store.Initialize();
}
am I doing something wrong here with IDocumentStore instance ?