The following output I got from profiler-report (Emacs's profiler in cpu profiling mode) looks suspicious, because it spends a lot of time in flycheck-relevant-error-p, which I didn't expect.
It causes noticeable pauses when typing, which makes it pretty annoying.
I only get this with irony-mode, I haven't had this problem with flycheck in general, which is why I submitted it here. I'm not actually very sure about that.
To reproduce I opened this file and just edited it.
#include <iostream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <fstream>
#include <boost/accumulators/accumulators.hpp>
#include <boost/accumulators/statistics/mean.hpp>
using namespace std;
int main() {
using boost::accumulators::extract_result;
using boost::accumulators::accumulator_set;
using boost::accumulators::features;
namespace tag = boost::accumulators::tag;
accumulator_set<double, features<tag::mean>> acc;
acc(1.0);
acc(2.0);
cout << "Hello" << endl;
cout << extract_result<tag::mean>(acc) << endl;
cout << "Hello" << endl;
return 0;
}
The following output I got from
profiler-report
(Emacs's profiler in cpu profiling mode) looks suspicious, because it spends a lot of time inflycheck-relevant-error-p
, which I didn't expect.It causes noticeable pauses when typing, which makes it pretty annoying.
I only get this with irony-mode, I haven't had this problem with flycheck in general, which is why I submitted it here. I'm not actually very sure about that.
To reproduce I opened this file and just edited it.
Compilation database:
CPU profiler output: