Open Closed

Default MVC project page execution times >2000ms #2755


User avatar
0
LinuXY created

Hello, the default MVC Application project run in either Debug or Release mode produces pages with quite slow execution times. I do not experience this with the Angular projects. Is there any way to speed this up or should I expect this level of performance for MVC pages?

Performance profiling: https://vimeo.com/688930682

  • ABP Framework version: v5.1.4
  • UI type: MVC
  • DB provider: EF Core + MySQL (MariaDb)
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: Executed page /Index in 2056.0758ms
  • Steps to reproduce the issue:" abp suite, Application, run migration, run .Web project in Debug or Release

9 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Is every refresh slow? Please share some request and response logs

  • User Avatar
    0
    LinuXY created

    hi

    Is every refresh slow? Please share some request and response logs

    Hi, yes every refresh ranges from 2-3s of executed server-side time. Here is a log:

    https://app.box.com/s/ma26p3ya4pa5u63nno88ro81bjlp1hx6

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please set the MS log level to Trace to see the details.

    https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/Program.cs#L15-L28

  • User Avatar
    0
    LinuXY created

    hi

    Please set the MS log level to Trace to see the details.

    https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/Program.cs#L15-L28

    Hello,

    I set the MS log level to Verbose (as there's no Trace setting) and here's the result:

    https://app.box.com/s/yputka2r8scpki1xc7mryu4iu5f37xp8

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    I tested a template project and the response time is normal.

    You can try to change another computer or send the project with me liming.ma@volosoft.com

  • User Avatar
    0
    LinuXY created

    I tested a template project and the response time is normal.

    You can try to change another computer or send the project with me liming.ma@volosoft.com

    Hello, I emailed the project. Let me know if you can reproduce!

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    The time almost 300 ms

  • User Avatar
    0
    LinuXY created

    The time almost 300 ms

    Hi, so these are subrequests. Not the /Index pages which I am having an issue with. Eg. "Executed page /Index in 2056.0758ms." Infact I see this same hesitation in most of your own website. Your TTFB is >2s.

    https://speedvitals.com/ttfb-test?url=https://docs.abp.io/en/commercial/latest/faq

    For example.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    I can't reproduce in my local use your project.

    Infact I see this same hesitation in most of your own website. Your TTFB is >2s.

    This is related to network latency.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19