Skip to content

Commit eb427cb

Browse files
DinoVmeta-codesync[bot]
authored andcommitted
Bump Cinder's default attr cache size
Summary: This is already set to 1 for IG - see D47439583 and it's still present: https://www.internalfb.com/code/search?q=repo%3Ainstagram%20PYTHONJITATTRCACHESIZE We should bump this up for everyone else as they're not as memory contrained. Reviewed By: alexmalyshev Differential Revision: D91275003 fbshipit-source-id: edb840377d17070744955436cc52cd3788cf404c
1 parent e11c99b commit eb427cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cinderx/Jit/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ struct Config {
186186
size_t max_code_size{0};
187187
// Size (in number of entries) of the LoadAttrCached and StoreAttrCached
188188
// inline caches used by the JIT.
189-
uint32_t attr_cache_size{1};
189+
uint32_t attr_cache_size{4};
190190
std::optional<uint32_t> compile_after_n_calls;
191191
GdbOptions gdb;
192192
JitListOptions jit_list;

0 commit comments

Comments
 (0)