You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2020/10/06 14:13:58 UTC

[GitHub] [lucenenet] NightOwl888 commented on issue #305: Investigate how we can load external assemblies when running Lucene.Net.Benchmarks on the command line

NightOwl888 commented on issue #305:
URL: https://github.com/apache/lucenenet/issues/305#issuecomment-704297788


   @jeme 
   
   Thanks, you were correct in that the original issue was lacking some context, and I have added more information to better explain the task.
   
   The `Lucene.Net.Benchmark` project was designed to work either as a library that users can extend or as an executable that can just be run. The issue crops up in the latter case where we need some sort of a "plug in" architecture so the end user can supply their own assembly to run it against. Java has a native feature to do this, but .NET does not.
   
   @Shazwazza 
   
   Although I think that we should look into leveraging BenchmarkDotNet for Lucene.Net.Benchmark at some point, the current incarnation is just a line-by-line port from Java. The Lucene.Net.Benchmark project uses a DSL to control the configuration of a benchmark, including strings that are meant for loading external types.
   
   Since the commands are essentially run-once I don't believe there will be any issues with "unloading" to worry about.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org