-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Switch back to O0. #1211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch back to O0. #1211
Conversation
|
@phsft-bot build with flags -Dclingtest=On |
|
Starting build on |
|
Starting build on |
|
Build failed on ubuntu14/native. Failing tests: |
|
Build failed on ubuntu14/native. Failing tests: |
|
Build failed on mac1012/native. Warnings:
And 10 more Failing tests: |
We have a suboptimal behavior in the way cling optimizes code in O2 mode. Disable it until the issue is understood and fixed.
|
Hi, #include "ROOT/TDataFrame.hxx"
#include <iostream>
using namespace ROOT::Experimental;
int main() {
// build a TDF with 1 event and 1 column "x" that is always equal 42
TDataFrame dd(1);
auto d = dd.Define("x", []() { return 42; });
// book nHistos histograms
// all with the same cut and filled with the same variable in this simple example
std::vector<TDF::TResultProxy<TH1D>> histos;
const auto nHistos = 1000u;
histos.reserve(nHistos);
for (auto i = 0u; i < nHistos; ++i)
histos.emplace_back(d.Histo1D("x"));
// run event loop, print something to be sure everything is ok
// jitting of the 1000 booked histograms happens here
std::cout << histos.front()->GetMean() << std::endl;
return 0;
} |
7a032be to
4b3dd1a
Compare
|
Starting build on |
|
@pcanal, git blame shows that you are the one with most recent knowledge about cling/test/Autoloading/AutoForwarding.C. Independent on this PR, when we build with -Dclingtest=On that test fails. I think it could be a valid regression happened because we do not really test that part of the code in cling standalone. Could you take a look? |
|
@vgvassilev nice job. The benchmark I have creating hundreds of histos relying on jitting takes w/o this patch 12s and 3s w/ it. For me the code good to be merged. |
|
@bluehood thanks for the graphs. Looks like |
|
@vgvassilev I think the most notable difference is the absence of In any case, I will run |
|
Build failed on ubuntu14/native. Failing tests: |
|
Build failed on centos7/gcc49. Failing tests: |
|
Build failed on ubuntu14/native. Failing tests: |
|
Build failed on slc6/gcc49. Failing tests: |
|
Build failed on slc6/gcc62. Warnings:
Failing tests: |
|
Build failed on mac1012/native. Warnings:
And 10 more Failing tests: |
|
Please find attached callgrind outputs for the O0 and O2 runs of the snippet listed in my previous comment: callgrind.zip. |
|
Build failed on slc6/gcc62. Warnings:
Failing tests: |
|
Hi, I vote to merge this asap. |
|
I'd like to put that in after PR #1218. I expect that would happen by the end of the week. |
|
@phsft-bot build! |
|
Starting build on |


We have a suboptimal behavior in the way cling optimizes code in O2 mode.
Disable it until the issue is understood and fixed.