Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

[NSE-126] improve codegen with pre-compiled header #639

Merged
merged 4 commits into from
Dec 18, 2021

Conversation

zhouyuan
Copy link
Collaborator

@zhouyuan zhouyuan commented Dec 16, 2021

What changes were proposed in this pull request?

This patch adds a new codegen header (wscgapi.hpp) to simplify the headers used in all codegen
in the first codegen, it will try to compile wscgapi.hpp into pre-compiled header, and reuse this in the following codegen

on my local tests this could speed up the codegen for 1 seconds (2.5s -> 1.5s)
Signed-off-by: Yuan Zhou yuan.zhou@intel.com

How was this patch tested?

passing jenkins

@github-actions
Copy link

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/oap-project/native-sql-engine/issues

Then could you also rename commit message and pull request title in the following format?

[NSE-${ISSUES_ID}] ${detailed message}

See also:

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
@zhouyuan zhouyuan force-pushed the wip_codegen_pch branch 2 times, most recently from 8fd7390 to 9abf48b Compare December 17, 2021 05:57
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
@zhouyuan zhouyuan changed the title [DNM] codegen with pch [NSE-126] improve codegen with pre-compiled header Dec 17, 2021
@github-actions
Copy link

#126

@zhouyuan zhouyuan marked this pull request as ready for review December 17, 2021 06:21
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
@zhouyuan zhouyuan merged commit d9318f8 into oap-project:master Dec 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant