Open Closed

Could you give me some suggestions to reduce the first launch time? #5881


User avatar
0
Shanzhi_Chen created

I used ABP commercial 7.1.1 with Visual Studio for Mac 2022 on Mac m1 chip.

I should wait around 15 to 20 seconds for Abp to initialize every time.

Even though I change only a piece of code, I need to relaunch Abp, which takes another 15 to 20 seconds.

I need to waste a lot of time on these boiling things.

Does it support hot-reload on Mac m1 chip or could I disable some features to accelerate the launch progress, or could you give me some suggestions how to improve it?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    hi

    Can you share the logs.txt of the first startup? liming.ma@volosoft.com

    I don't have this problem on my MBP(m1).

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The application startup is not too slow from the logs.

    
    2023-09-28 20:27:12.364 -06:00 [INF] Starting MBS.ModernCloud.HttpApi.Host.
    //...
    2023-09-28 20:27:17.927 -06:00 [INF] Now listening on: http://10.0.0.213:5001
    

    but you can try to disable the background job

    https://docs.abp.io/en/abp/latest/Background-Jobs#disable-job-execution

    and try to remove the DynamicLocalizationResourceContributor from AbpLocalizationOptions

    Configure<AbpLocalizationOptions>(options =>
    {
        options.GlobalContributors.Add<DynamicLocalizationResourceContributor>();
    });
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.