mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 00:20:47 +00:00
pch: expand precompiled header with more high-impact Scylla headers
Add to stdafx.hh: locator/token_metadata.hh, gms/gossiper.hh, db/system_keyspace.hh, service/topology_state_machine.hh, cql3/query_options.hh, service/client_state.hh, cql3/query_processor.hh, db/config.hh, service/storage_proxy.hh, schema/schema_builder.hh, exceptions/exceptions.hh, gms/feature_service.hh, service/migration_manager.hh, sstables/sstables.hh, service/storage_service.hh, transport/messages/result_message.hh. These headers are included by 40-140 translation units each. Adding them to the PCH avoids redundant parsing across the build. Combined with the previous PCH commit, clean dev build time drops from 22m33s to ~14m23s (-36.2%).
This commit is contained in:
16
stdafx.hh
16
stdafx.hh
@@ -422,5 +422,21 @@
|
||||
#include "gc_clock.hh"
|
||||
#include "locator/token_metadata_fwd.hh"
|
||||
#include "locator/types.hh"
|
||||
#include "locator/token_metadata.hh"
|
||||
#include "gms/gossiper.hh"
|
||||
#include "db/system_keyspace.hh"
|
||||
#include "service/topology_state_machine.hh"
|
||||
#include "cql3/query_options.hh"
|
||||
#include "service/client_state.hh"
|
||||
#include "cql3/query_processor.hh"
|
||||
#include "db/config.hh"
|
||||
#include "service/storage_proxy.hh"
|
||||
#include "schema/schema_builder.hh"
|
||||
#include "exceptions/exceptions.hh"
|
||||
#include "gms/feature_service.hh"
|
||||
#include "service/migration_manager.hh"
|
||||
#include "sstables/sstables.hh"
|
||||
#include "service/storage_service.hh"
|
||||
#include "transport/messages/result_message.hh"
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user