{"id":18318,"date":"2013-06-05T19:23:22","date_gmt":"2013-06-05T17:23:22","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=18318"},"modified":"2013-06-05T19:23:22","modified_gmt":"2013-06-05T17:23:22","slug":"from-15-hours-to-15-seconds-reducing-a-crushing-build-time","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2013\/06\/05\/from-15-hours-to-15-seconds-reducing-a-crushing-build-time\/","title":{"rendered":"From 15 hours to 15 seconds: reducing a crushing build time"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"http:\/\/devblog.songkick.com\/2012\/07\/16\/from-15-hours-to-15-seconds-reducing-a-crushing-build-time\/\">From 15 hours to 15 seconds: reducing a crushing build time<\/a><\/p>\n<p>In summary:<\/p>\n<ul>\n<li>Bad Practice #1: We favoured integration tests over unit tests.<\/li>\n<li>Bad Practice #2: We had many, many features that were relatively unimportant.<\/li>\n<li>Bad Practice #3: Our integration tests were actually acceptance tests.<\/li>\n<li>Bonus tip:\u00a0run the build entirely on the tmpfs in-memory file system.<\/li>\n<\/ul>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>From 15 hours to 15 seconds: reducing a crushing build time In summary: Bad Practice #1: We favoured integration tests over unit tests. Bad Practice #2: We had many, many features that were relatively unimportant. Bad Practice #3: Our integration tests were actually acceptance tests. Bonus tip:\u00a0run the build entirely on the tmpfs in-memory file &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2013\/06\/05\/from-15-hours-to-15-seconds-reducing-a-crushing-build-time\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">From 15 hours to 15 seconds: reducing a crushing build time<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"link","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,18,62],"tags":[3089,3074,1108],"keyring_services":[],"class_list":["post-18318","post","type-post","status-publish","format-link","hentry","category-general","category-programming","category-technology","tag-continuous-integration","tag-quality-assurance","tag-testing","post_format-post-format-link"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":19979,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/01\/28\/testling-ci-run-your-browser-tests-on-every-push\/","url_meta":{"origin":18318,"position":0},"title":"testling-ci &#8211; run your browser tests on every push","author":"Leonid Mamchenkov","date":"January 28, 2014","format":"link","excerpt":"testling-ci - run your browser tests on every push","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26688,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/09\/16\/bitbucket-pipelines-and-docker-for-php-developers\/","url_meta":{"origin":18318,"position":1},"title":"BitBucket Pipelines and Docker for PHP Developers","author":"Leonid Mamchenkov","date":"September 16, 2016","format":false,"excerpt":"I've been meaning to look into Docker for a long while now. \u00a0But, as always, time is the issue. \u00a0In the last couple of days though I've been integrating BitBucket Pipelines into our workflow. \u00a0BitBucket Pipelines is a continuous integration solution, which runs your project tests in a Docker container.\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26327,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/08\/09\/analyzing-2-million-travis-builds\/","url_meta":{"origin":18318,"position":2},"title":"Analyzing 2+ Million Travis Builds","author":"Leonid Mamchenkov","date":"August 9, 2016","format":false,"excerpt":"TravisCI - a continuous\u00a0integration service - shares some of the insights from over 2,000,000 builds they've run, in an blog post called \"What We Learned about Continuous Integration from Analyzing 2+ Million Travis Builds\". \u00a0For me, the most valuable bit is about the reasons for failing builds, which clearly indicates\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"2016-07-28-analyzing-travis-builds-0","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/08\/2016-07-28-analyzing-travis-builds-0-500x289.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":27855,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/08\/17\/scheduled-pipelines-now-available-in-bitbucket-pipelines\/","url_meta":{"origin":18318,"position":3},"title":"Scheduled pipelines now available in Bitbucket Pipelines","author":"Leonid Mamchenkov","date":"August 17, 2017","format":false,"excerpt":"BitBucket blog announces the support for scheduled Bitbucket Pipelines. \u00a0This is super cool and has been on the wishlist for a while now. \u00a0Here are a few examples of how this feature is useful: Nightly builds that take longer to run Daily or weekly deployments to a test environment Data\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/08\/scheduled-pipelines-500x480.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":24831,"url":"https:\/\/mamchenkov.net\/wordpress\/2015\/10\/12\/continuous-integration-servers\/","url_meta":{"origin":18318,"position":4},"title":"Continuous Integration Servers","author":"Leonid Mamchenkov","date":"October 12, 2015","format":false,"excerpt":"Here's a list of Continuous Integration (CI) servers \/ solutions for those who is still trying to choose: Travis CI CircleCI Jenkins CI Atlassian Bamboo JetBrains TeamCity Microsoft Team Foundation Server Microsoft Visual Studio Online CI GitLab CI Codeship Drone.io Buildkite Via volkswagen.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"build results","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/10\/build-results-500x308.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":36094,"url":"https:\/\/mamchenkov.net\/wordpress\/2019\/02\/25\/how-to-build-a-serverless-ci-cd-pipeline-on-aws\/","url_meta":{"origin":18318,"position":5},"title":"How To Build a Serverless CI\/CD Pipeline On AWS","author":"Leonid Mamchenkov","date":"February 25, 2019","format":false,"excerpt":"\"How To Build a Serverless CI\/CD Pipeline On AWS\" is a nice guide to some of the newer Amazon AWS services, targeted at developers and DevOps. It shows how to tie together the following: Amazon EC2 (server instances)Docker (containers)Amazon ECR (Elastic Container Registry)Amazon S3 (storage)Amazon IAM (Identity and Access Management)Amazon\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/18318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=18318"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/18318\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=18318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=18318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=18318"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=18318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}