Re: Access to NodeStore instance within benchmark

2017-09-26 Thread Chetan Mehrotra
Its bit buried in layers. I saw few other benchmark use reflection to access the NodeStore. So for now using that to move forward Chetan Mehrotra On Tue, Sep 26, 2017 at 3:32 PM, Michael Dürig wrote: > > I tend to agree with Davide. Especially since the use case is for > benchmarking only. Isn

Re: Access to NodeStore instance within benchmark

2017-09-26 Thread Michael Dürig
I tend to agree with Davide. Especially since the use case is for benchmarking only. Isn't there an alternative way where the node store could be exposed via the the benchmark's fixture? Michael On 25.09.17 11:00, Davide Giannella wrote: On 25/09/2017 07:05, Chetan Mehrotra wrote: One way

Re: Access to NodeStore instance within benchmark

2017-09-25 Thread Davide Giannella
On 25/09/2017 07:05, Chetan Mehrotra wrote: > One way can be to expose NodeStore instance from the Oak class. Would > that be ok to do? I don't like it very much as it would make it too easy to access the NodeStore from a consumer pov. `Oak` itself is already low level therefore I'm not strongly o

Access to NodeStore instance within benchmark

2017-09-24 Thread Chetan Mehrotra
For a new benchmark I need access to NodeStore associated with current Oak instance to configure a cleaner instance [1]. Any idea on how can it be done? So far not able to find a way to access the NodeStore instance in the benchmark [2]. One way can be to expose NodeStore instance from the Oak cl