Hi Yang,

Yes, ideally this functionality must be built into Chromium (or V8 
depending on the right place). And that was my initial question too... Is 
it possible to configure it? If it is,  then at this time I am only 
interested in evaluating it on such systems where I suspect bytecode 
caching in service worker is problematic. 

Looks like the answer is *no such option is available *today.

Thanks,
Vittal Pai

On Wednesday, September 30, 2020 at 10:18:15 AM UTC-7 Yang Guo wrote:

> No. Maybe you could explain why you would want to do that? If it's about 
> performance impact on devices with slow I/O, this is probably a feature 
> that's best implemented in Chrome?
>
> Yang
>
> On Wed, Sep 30, 2020, 18:46 Vittal Pai <[email protected]> wrote:
>
>> Thanks for the info Leszek!
>>
>> Is the flag " --v8-cache-options=none" something I can pass to chromium 
>> from my website? How?
>>
>> I am new to the web stuff and still learning the ropes. Apologies if this 
>> is a naïve question.
>>
>> On Wednesday, September 30, 2020 at 2:25:04 AM UTC-7 [email protected] 
>> wrote:
>>
>>> Hi Vittal,
>>>
>>> This is more a chromium than a V8 question (V8 caches whatever you tell 
>>> it to via the API). In chromium, I don't believe there's a flag for setting 
>>> the service worker behaviour specifically, but there is a flag for 
>>> disabling code caching entirely: --v8-cache-options=none
>>>
>>> Otherwise, you'll want to make code changes and recompile, I think this 
>>> is the value you have to change: 
>>> https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/modules/exported/web_embedded_worker_impl.cc;l=224;drc=84cf85ac759fedf96ddd050b88e4d8759a9054c4
>>>
>>> - Leszek
>>>
>>> On Tue, Sep 29, 2020 at 9:05 PM Vittal Pai <[email protected]> wrote:
>>>
>>>> Is there a supported way of achieving this?
>>>>
>>>> ByteCode caching is great for speed ups it helps with. But it can 
>>>> negatively impact perf on systems with lower disk IO through put. I am 
>>>> interested in understanding the pros and cons of these approaches on 
>>>> different machine hardware configs. Hence the question.
>>>>
>>>> Thanks in advance!
>>>>
>>>> -- 
>>>> -- 
>>>> v8-dev mailing list
>>>> [email protected]
>>>> http://groups.google.com/group/v8-dev
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "v8-dev" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/v8-dev/781101b3-f93f-4747-b5b5-57fb91426a6en%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/v8-dev/781101b3-f93f-4747-b5b5-57fb91426a6en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> -- 
>> v8-dev mailing list
>> [email protected]
>> http://groups.google.com/group/v8-dev
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "v8-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/v8-dev/0591e033-68ef-4126-b806-f87216ddeff2n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/v8-dev/0591e033-68ef-4126-b806-f87216ddeff2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/d1d429ae-5516-4c17-a7d0-c1087c680ecan%40googlegroups.com.

Reply via email to