15 questions
2 votes
1 answer
90 views
How are eliminated values reconstructed during deoptimization in V8?
In Speculative Optimizations for WebAssembly using Deopts and Inlining the following statement is made: The difference is in the code for the slow path. Without deopts, we don’t have the option of ...
3 votes
0 answers
189 views
Why does the JDWP agent cause significant deoptimization during stress tests?
I've been conducting a stress test using async-profiler to generate a flame graph and happened to notice that, when JDWP is attached, there are frequent cases of deoptimization consuming a significant ...
6 votes
1 answer
3k views
what is a deoptimization request on un-deoptimizable method in Android Studio?
I'm running my app in Kotlin and there is no error, but I keep getting these warnings: W/app: Got a deoptimization request on un-deoptimizable method boolean libcore.io.Linux.access(java.lang.String, ...
0 votes
0 answers
70 views
Equivalent in python of fnMap parameter in DEoptim in R
I want to replicate this function opt_object <- DEoptim(fn = optimFunctionDT, lower = lower, upper = upper, fnMap = mappingFun, control = DEoptim.control(trace = 500, itermax = 5000, steptol = 1000)...
1 vote
0 answers
162 views
R caret maximum accuracy gradient boosting
I am trying to tune gradient boosting (caret package) with differential evolution (DEOptim) in R language. I have a question, is correct to define the maximum of accuracy at each iteration in my eval ...
1 vote
1 answer
531 views
Researching Javascript DEOPT reasons in Chrome 79 for a pet project
I've been tinkering with a Javascript chess engine for a while. Yeah yeah I know (chuckles), not the best platform for that sorta thing. It's a bit of a pet project, I'm enjoying the academic exercise ...
2 votes
1 answer
546 views
Passing optimization function arguments in R DEoptim
I am trying to learn the DEoptim library in R but I think I am misunderstanding the library documentation from https://www.rdocumentation.org/packages/DEoptim/versions/2.2-4/topics/DEoptim I am ...
0 votes
0 answers
88 views
How to make non-liear portfolio optimization faster
How do I make non-linear portfolio optimization faster? I want to optimize a portfolio of 50 assets on the following measure: (mean(portfolio returns_t-1)/sd(portfolio returns_t-1)-mean(portfolio ...
0 votes
0 answers
243 views
When is javascript deoptimizer invoked?
I understand that js' JIT compiler will deoptimize the warm or hot code in case datatype changes in a loop (like one element in array is string whereas rest were int). But i have few scenarios where ...
2 votes
0 answers
255 views
DEoptim: how to optimize more than one parameter?
I want to fit a curve,the model is as the following picture. In this model, there are four parameters(alpha,beta,gamma and Rd)to optimize,now the data of I and P(I) is already,and the function ...
2 votes
1 answer
742 views
DEoptim error: objective function result has different length than parameter matrix due to foreachArgs specification
I have a very odd DEoptim error that I have "fixed", but do not understand. I do not have issues when I use DEoptim's parallel capabilities with the parallel package (i.e., pType=1). However when I ...
5 votes
1 answer
1k views
DEOptim keeps telling: NaN value of objective function
I've written a simulation program in C++ and like to find parameters in R, using DEoptim. Sometimes everything works well and sometimes DEoptim stops and tells: Error in DEoptim(simulate, lower = lb, ...
6 votes
0 answers
197 views
Reproducible results across multiple runs of DEoptim
I am trying to use DEoptim in R in the following way fit <- DEoptim(fn = .obj, lower=lower, upper = upper, control = list(itermax = 100, trace = 1, parallelType = 1, ...
2 votes
1 answer
719 views
Chrome's V8 won't optimize function because of "tagged-to-i: not a heap number"
I have a function that's supposed to round X to the nearest multiple of A. Here's the code in JavaScript: var round = function (x, a) { "use strict"; if (typeof a === "undefined") { return ...
1 vote
1 answer
779 views
Javascript deoptimization
I'm not sure what's wrong in this code. Src is a Uint8Array object with a length bigger than 0. function makeImageFromChannel(src) { var image = new Uint8Array(src.length * 4), i = 0, ...