1. A computer-implemented method comprising: obtaining input data that includes an expression containing an array to which at least one of an elementwise operator and function is applied; profiling an application and a data set to generate a performance profile prior to execution of the expression, the application including the expression; starting execution of the application; determining, during the execution of the application, that the expression is to be executed in parallel based on the performance profile, the determining including: determining a number of chunks in the array included in the expression; and continuing the execution of the application by executing the expression in parallel upon determining to execute the expression in parallel based on the performance profile.