Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Tablet Client way faster than normal WebClient, BC25.1 OnPrem

(4) ShareShare
ReportReport
Posted on by 37
Since a long time we have the issue of the slowness of the Webclient. 
But its not a SQL or Network Issue...
 
Example:
When we are opening the Sales Order Card Page its like instant within the Tablet Client (1-2seconds) while it always takes about 6-9 seconds within the webclient (same service, same order).
 
Why is that the case? 
 
I'm executing the statement directly on the server which is running the application service.
I just developed some Messages to see when the code was run on the service and actually shown
 

17-02-25 14.05.40,263 BeforeRunmodal Sales List - Trigger Action OpenSalesOrderTestCard

17-02-25 14.05.40,263 OnInit Sales Order card 
17-02-25 14.05.40,296 OnOpenPage Sales Order card 
17-02-25 14.05.40,323 OnAfterGetRecord Sales Order card 

The Message tells me that on 2:05,40 pm the execution was done on the application server, but shown is the Page with the values 3-6 seconds later. 

 

But as I am directly on the service there isn't any delay in the network. Is it all due to build up the page within the browser? And why is it way slower than on the tablet client? 

 

Do you have any idea what could cause this? Or any options I can try to change?

 

 

pageextension 55393 SalesOrderTestListExtension extends "Sales Order List"
*****                
trigger OnAction()
                var
                    SalesOrderTestCard: Page SalesOrderTestCard;
                begin
                    Message('%1', Format(CurrentDateTime, 0, '<Day,2>-<Month,2>-<Year> <Hours24,2>.<Minutes,2>.<Seconds,2><Second dec>') + ' BeforeRunmodal');
                    SalesOrderTestCard.SetTableView(rec);
                    SalesOrderTestCard.RunModal();
                end;
*****      



page 50098 SalesOrderTestCard
****
    trigger OnInit()
    begin
        // start bl001.mk
        // stop bl001.mk
        Message('%1', Format(CurrentDateTime, 0, '<Day,2>-<Month,2>-<Year> <Hours24,2>.<Minutes,2>.<Seconds,2><Second dec>') + ' OnInit');
    end;

    trigger OnOpenPage()
    begin
        // start bl001.mk
        // stop bl001.mk
        Message('%1', Format(CurrentDateTime, 0, '<Day,2>-<Month,2>-<Year> <Hours24,2>.<Minutes,2>.<Seconds,2><Second dec>') + ' OnOpenPage');
    end;

    trigger OnAfterGetRecord()
    begin
        // start bl001.mk
        // stop bl001.mk
        Message('%1', Format(CurrentDateTime, 0, '<Day,2>-<Month,2>-<Year> <Hours24,2>.<Minutes,2>.<Seconds,2><Second dec>') + ' OnAfterGetRecord');
    end;
****
 
  • Verified answer
    Badaboom Profile Picture
    37 on at
    Tablet Client way faster than normal WebClient, BC25.1 OnPrem
    Thx for the hints but I've already checked everything and no performance enhancement.
    Today we're gonna update the Version from 25.1 to 25.4. The Testsystem reacts way faster... Probably it has something to do with the hotfix

    562348

    Improved performance when generating AL callstack.

     
    It seems like there is an issue with the 25.1 Version... I would strongly recommend if your onprem to update to the latest release...
     
  • Suggested answer
    YUN ZHU Profile Picture
    79,097 Super User 2025 Season 1 on at
    Tablet Client way faster than normal WebClient, BC25.1 OnPrem
    I'm curious, if you restore the database locally, will it be the same as on the server?
    In addition, some Microsoft codes only run on the web client, so the different speeds should be standard behavior.
    For example,
    Dynamics 365 Business Central: How to get the client type that is running in the current session via AL code
     
    Thanks.
    ZHU
  • gdrenteria Profile Picture
    15,635 Most Valuable Professional on at
    Tablet Client way faster than normal WebClient, BC25.1 OnPrem

    Hi, good day
    I hope this can help you, and give you some hints.

    Performance of Business Central On-Premises Installations - Business Central | Microsoft Learn

    Best Regards
    Gerardo

  • Badaboom Profile Picture
    37 on at
    Tablet Client way faster than normal WebClient, BC25.1 OnPrem
    Unfortunately the BC App mode is not really faster and the deactivation of the Antvir didn't bring the success...
     
    I also tried to open chrome without any extension but also no big performance increase...
     
    I think the BC webclient is strongly depended on the CPU and the boosting possibilties of it.
    I found a computer within our environment on which the data is faster showing up than on the Application server itself (the pc is 200km away from the server)...
     
    I don't have any more ideas and will stop at this point to further look into the performance topics... 
    I think handling loads of data within webclient is just bad optimized from microsoft...
     
    What would be interesting for me is whats the big difference in loading and showing the data between tablet mode and normal webclient is?!
    Unfortunately there is no instrument for me to see if its caused by network or local cpu...

    Btw: I've tried the Windows and AccessControlService but also no difference...
    Here some manually measured opening times:
     
    Application Server (opening Sales Order in seconds):
    5,06
    5,03
    5,00
    4,30
    4,34
    4,44
    4,32
    5,02
    4,35
    New PC with intel core i5-12500 (opening Sales Order in seconds):
    3,61
    3,58
    3,90
    3,00
    3,46
    3,51
    3,69
    3,58
    My workstation xeon w-2133 (opening Sales Order in seconds):
    5,51
    5,41
    7,16
    7,62
    5,62
    5,21
    5,52
    5,24
    5,59
  • Suggested answer
    YUN ZHU Profile Picture
    79,097 Super User 2025 Season 1 on at
    Tablet Client way faster than normal WebClient, BC25.1 OnPrem
    Will this problem occur when using the BC app?
     
    It looks like a firewall or authentication issue.
     
    Thanks
    ZHU
  • Badaboom Profile Picture
    37 on at
    Tablet Client way faster than normal WebClient, BC25.1 OnPrem
    Tomorrow we will deactivate the antivirus and check if its faster...
  • Badaboom Profile Picture
    37 on at
    Tablet Client way faster than normal WebClient, BC25.1 OnPrem
    Thx for your replies!
     
    But unfortunately the Performance Profiler nor the Planned Profiles is showing anything when I'm opening the Sales Order Card, seems like our machine is too fast to show something because the minimal hit is not triggered? 
     
    I've tracked the Webclient and the Tablet client within the chrome browser dev tools. 
    Here you can clearly see that the tablet client (for the same Sales Order Card, same service, same machine) is way faster.
     
    There is a big part within the scripting which takes that long... 
    How can I figure out whats causing it? 
     
    Could it be that the cortex xdr is involved in this? 
  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,312 Super User 2025 Season 1 on at
    Tablet Client way faster than normal WebClient, BC25.1 OnPrem
    Hi,
     
    Try running Performance Profiler in Business Central webclient  to understand extension and code that is causing delay.
     
    How to use Performance profiler:
     
     
     
    Let us know your results after you run performance profiler.
     
  • Suggested answer
    Steven Renders Profile Picture
    5,401 Moderator on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,245 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,925 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans