Questions tagged as 'runtime'

1
answer

What is the "runtime environment" really?

Studying a little bit about ASP.NET 5 I came across something that I did not quite understand. To use it you need to install KVM (K Version Manager) and KPM (K Package Manager). KVM is responsible for managing KRE (K Runtime Environment) version...
asked by 19.02.2015 / 18:51
2
answers

What is the difference between "compile time" and "run time"?

Compile time and run time are common terms we often hear in the programming area, what are the main differences or characteristics of these two terms?     
asked by 29.06.2017 / 16:39
3
answers

Measure the execution time of a function

How can I measure the runtime of a function in Python? In C #, I use the class Stopwatch() in this way var sw = new Stopwatch(); sw.Start(); AlgumaFuncao(); sw.Stop(); WriteLine(sw.ElapsedTicks);     
asked by 10.11.2015 / 14:41
1
answer

Difference in execution time between stdio.h and iostream

I made two codes for an online judge to correct. They are essentially the same. But the stdio.h is accepted and the with the iostream does not, because it exceeds the time limit. Why does this occur? #include <stdio.h> int tipo[1000000];...
asked by 02.03.2016 / 08:51
2
answers

Function processing time

How do I check the processing time of the subfunctions of a function in order to optimize it? I read about the topic in the R help and at: link But it does not show the subfunctions of my function, however it shows many functions that I'...
asked by 29.04.2016 / 11:10
2
answers

Sql - Delete records in bulk - Delete in bulk

I have a table with about 4 million records. What is the best method to delete all of them to get the best time? Does Indexing help anything, since it is just a reference for finding data? OBS 'DELETE FROM tb_name;' // Demorou em torno d...
asked by 09.10.2015 / 15:39
3
answers

Check the runtime of a Javascript function

I would like to know if it is possible to know the running time of a particular javascript function. This function does not need to fetch external data, it can only handle form tags, set value, calculate fields, like this: function idade(an...
asked by 10.07.2015 / 14:52
1
answer

If C / C ++ are native languages then why do they need runtimes?

Generally the first thing that came to my mind when I heard the term native language, was a program that ran independent of operating system, communicating directly with the hardware, I always developed in debug mode, when I released a releas...
asked by 31.05.2018 / 02:31
1
answer

What is managed code?

In a conversation with a co-worker about which language was used to develop Windows, he said that many parts should still be developed in C and C ++, since it was necessary to run unmanaged code. Other parts are already developed in C #. From th...
asked by 23.03.2017 / 04:37
3
answers

function in R which also returns the execution time itself

I know there is Rprof (), but it seems rather inaccurate compared to the microbenchmark (). However, if I want to use the microbenchmark () I have to call the function 2 times, one to have the output of it and another to run the time of it (whic...
asked by 02.06.2018 / 23:42