mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-25 01:21:14 +08:00
fa50657af1
Summary: We want to be able to benchmark initial sync, so this diff adds two scripts. The first, drop-stuff.sh, drops all data from the app and sync databases that isn't related to account credentials. The second, benchmark-initial-sync.sh, runs a fixed number of iterations (current 5) that invokes drop-stuff.sh then opens the app, waits a fixed amount of time (currently 120 seconds), and then kills the app and measures how many messages it synced which it prints to the console. This is sufficient for us to start measuring how quickly we can sync messages. This diff also includes the sqlite3 amalgamation which drop-stuff.sh requires to function correctly due to depending on the FTS5 extension which doesn't come built-in on some platforms. Test Plan: Run benchmark locally Reviewers: evan, spang, juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D4275
65 lines
1.4 KiB
Text
65 lines
1.4 KiB
Text
##### Elastic Beanstalk Files
|
|
.elasticbeanstalk/*
|
|
!.elasticbeanstalk/*.cfg.yml
|
|
!.elasticbeanstalk/*.global.yml
|
|
|
|
##### Arcanist / Phab
|
|
**/.arcconfig
|
|
**/.arclint
|
|
**/arclib
|
|
|
|
##### Client Private Plugins (symlinked)
|
|
**/client-app/src/error-logger-extensions
|
|
**/client-app/src/nylas-private-*
|
|
**/internal_packages/nylas-private-*
|
|
**/internal_packages/activity-list
|
|
**/internal_packages/composer-mail-merge
|
|
**/internal_packages/composer-scheduler
|
|
**/internal_packages/link-tracking
|
|
**/internal_packages/open-tracking
|
|
**/internal_packages/send-later
|
|
**/internal_packages/send-reminders
|
|
**/internal_packages/thread-sharing
|
|
**/internal_packages/client-sync
|
|
|
|
##### Node modules
|
|
node_modules
|
|
!packages/client-app/spec/fixtures/packages/package-with-incompatible-native-module/node_modules
|
|
**/npm-debug.log*
|
|
**/lerna-debug.log*
|
|
|
|
##### Certs for building
|
|
**/build/resources/certs
|
|
|
|
##### Misc swap files
|
|
**/*.swp
|
|
**/*.swo
|
|
**/*~
|
|
**/*#
|
|
**/.DS_Store
|
|
**/Thumbs.db
|
|
**/#emacs
|
|
|
|
# Built cloud files
|
|
n1_cloud_dist
|
|
|
|
# Built Nylas Mail client
|
|
packages/client-app/dist
|
|
|
|
# Tests
|
|
spec-saved-state.json
|
|
|
|
# Symlinked Jasmine config files
|
|
**/jasmine/config.json
|
|
!packages/isomorphic-core/spec/jasmine/config.json
|
|
|
|
# Symlinked isomorphic-core Specs
|
|
packages/client-app/spec/isomorphic-core
|
|
|
|
# Elastic Beanstalk Files
|
|
.elasticbeanstalk/*
|
|
!.elasticbeanstalk/*.cfg.yml
|
|
!.elasticbeanstalk/*.global.yml
|
|
|
|
# Sqlite amalgamation for scripts
|
|
scripts/sqlite
|