GithubHelp home page GithubHelp logo

Comments (9)

danielpalme avatar danielpalme commented on June 12, 2024 1

I would like to investigate this further next week.
Can you share your coverage xml file?

Can upload it to GoogleDrive/OneDrive/Dropbox and send me the link?
You can sent it confidentially by email: [email protected]

from reportgenerator.

OrgesKreka avatar OrgesKreka commented on June 12, 2024 1

@danielpalme thank you very much for your help!
It looked like the issue was again related with the classes generated by the wsdl-s.
I excluded the assembly that contains those classes and now it takes around 30s to generate the report.
Wishing you all the best!

from reportgenerator.

danielpalme avatar danielpalme commented on June 12, 2024

Thanks for your email. I will have a look next week.

from reportgenerator.

danielpalme avatar danielpalme commented on June 12, 2024

Could you please try again with the new release 5.1.22?
I made some optimizations to significantly reduce the execution time.
On my laptop memory usage never exceeded 900 MB.
But let's see if this is still an issue with the new release.

from reportgenerator.

OrgesKreka avatar OrgesKreka commented on June 12, 2024

@danielpalme Sorry for the late reply but I was on vacation.
I tried today with the new version and as you can see from the screenshot now it consumes around 7GB and takes more than 10minutes to finish ( I killed it after 10 minutes )
image

from reportgenerator.

danielpalme avatar danielpalme commented on June 12, 2024

Thanks for testing again.

I just tested myself with your coverage file and can confirm that the memory usage is pretty high:
image

But after 60 seconds the coverage file is processed.

I will investigate this within the next days.

from reportgenerator.

danielpalme avatar danielpalme commented on June 12, 2024

Your codebase contains ~3000 classes that are named *ArrayOf*.

The corresponding files seem to be very long (~150000 lines of code).

If I remove these classes with this filter argument -classfilters:-*ArrayOf* the memory usage drops to 2.4GB and execution time is about 30 seconds.

image

I guess that those large files are generated automatically by some tool. Maybe you can ignore them for your coverage report with the command line parameter: -classfilters:-*ArrayOf*
`

from reportgenerator.

OrgesKreka avatar OrgesKreka commented on June 12, 2024

Thank you very much for the debug, yes you are right. I have some old wsdls that have created their Reference.cs and one of those was very large. Since I could not exclude the Reference.cs from the coverlet I excluded them during the report generation, but again now for me it takes around 9 minutes to be generated. Below you can see the result:
image

Is there anything to do to decrease the generation time?

from reportgenerator.

danielpalme avatar danielpalme commented on June 12, 2024

Is there anything to do to decrease the generation time?

If you only want the MarkdownSummaryGithub report, you should not specify any other report types.

Your command line parameters should look like this:
reportgenerator -reports:... -reporttypes:MarkdownSummaryGithub -classfilters:-*ArrayOf*

On my machine this command takes about 30 seconds.
I don't know why it's that much slower on your machine.

Some potential issues:

  • You added additional report types
  • You don't use an SSD
  • Some anti virus tool may slow down report generation

from reportgenerator.

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.