Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Is it possible to set priority in different chrmosrs?

Post Reply
tad.chen
Posts: 119
Joined: Fri Jan 04, 2019 1:39 am

Is it possible to set priority in different chrmosrs?

Post by tad.chen »

Hi,

In my app, I uses several OSR chrmosrs which are working at the same time. This causes the response of chrmosr which is using by user currently becomes slower sometime.

Can I set priority for each chrmosr?
User avatar
salvadordf
Posts: 4620
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Is it possible to set priority in different chrmosrs?

Post by salvadordf »

I don't recall any setting to change the browser priority but you can try some alternative optimization tricks.

If the user doesn't need to see all the browsers at the same time then hide the browsers without focus.

You can also try reducing the browser resolution or skip drawing some frames of unfocused browsers in the TChromiumCore.OnPaint event.

You may also reduce the default frame rate in TChromiumCore.InitializeSettings.
tad.chen
Posts: 119
Joined: Fri Jan 04, 2019 1:39 am

Re: Is it possible to set priority in different chrmosrs?

Post by tad.chen »

Thank you for your information! I'll try it.
Post Reply