Giter Site home page Giter Site logo

Comments (13)

AntyaDev avatar AntyaDev commented on June 19, 2024 2

Thanks @En3Tho ,
It's beneficial and we will try to integrate with it.

from nbomber.

AntyaDev avatar AntyaDev commented on June 19, 2024 2

Hi @En3Tho
I made the changes that you requested.

Can you please try:
https://www.nuget.org/packages/NBomber/5.5.0-beta.1

I tried to build using a single-file deployment, and it worked for me

from nbomber.

En3Tho avatar En3Tho commented on June 19, 2024 2

Hello, @AntyaDev ! So far I haven't tried that because I'm on vacation now. I will certainly try it out in 1-2 weeks when I get back to work.

from nbomber.

AntyaDev avatar AntyaDev commented on June 19, 2024 1

@En3Tho, @AndreyFedorovIID did you try?
If it works for you, I will close this request.

from nbomber.

AndreyFedorovIID avatar AndreyFedorovIID commented on June 19, 2024 1

Hi. I was on vacation too.

I just checked tests with 5.2.2 and 5.5.0-beta.1. 5.2.2 crashes as before, and 5.5.0-beta.1 works (<SelfContained>false</SelfContained> (~12 MB) and <SelfContained>true</SelfContained> (~74 MB) on windows). I didn't make any code changes. I don't have any tasks for stress tests right now, so I can't give you a more detailed analysis, since I can't spare the time for this. Sorry.

I do not know if all the problems have been fixed, as there may be other effects from combining assemblies into one file. It's not difficult to add tests for this, I think.

As I said earlier, you can close the issue without my response. Since it was not a request, but a suggestion for improvement. (I don't know English very well, maybe I misunderstood or I'm writing incorrectly.)

from nbomber.

AntyaDev avatar AntyaDev commented on June 19, 2024

Hi @AndreyFedorovIID

What version of NBomber did you use?

from nbomber.

AndreyFedorovIID avatar AndreyFedorovIID commented on June 19, 2024
    <PackageVersion Include="NBomber" Version="5.2.2"/>
    <PackageVersion Include="NBomber.Http" Version="5.0.0"/>

from nbomber.

AntyaDev avatar AntyaDev commented on June 19, 2024

Does this request come from the Business license or Enterprise?
I need this information to prioritize this work item.

from nbomber.

AndreyFedorovIID avatar AndreyFedorovIID commented on June 19, 2024

I'm choosing a library for testing for the company I work for. We have not yet made a decision to purchase a license. We are currently at the stage of choosing a library.

I decided to just share an idea for improvement, which would be nice to see.

The task can be simply closed if the developers do not see any benefit.

from nbomber.

AntyaDev avatar AntyaDev commented on June 19, 2024

Don't get me wrong, but your task is relevant, and we are willing to include it in our release.
We needed this info about the company to understand how we should prioritize it.

from nbomber.

En3Tho avatar En3Tho commented on June 19, 2024

Just stumbled upon this too

You should use Process.GetCurrentProcess().MainModule.FileName instead

It is technically not a blocking issue but self-contained apps are better in a sense that you don't have to install anything to run the app. Binary is huge but it works.

from nbomber.

AntyaDev avatar AntyaDev commented on June 19, 2024

Hi @En3Tho , @AndreyFedorovIID
Is this task is still relevant for you?

from nbomber.

En3Tho avatar En3Tho commented on June 19, 2024

Hello, @AntyaDev For now I've resorted to manually make tar.gz archive with all the data to make copying via ssh faster. In theory single file bundle has similar size and should be easier to use.

Ideally I would rather see work done towards Making NBomber AOT-compatible (I don't know if it is now, but last time I've checked it threw at run time due to serilog missing some things that were trimmed away). I think that would be the best option. Smallest size, faster startup, similar perf for a load utility.

from nbomber.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.