Skip to content

--profile Output Showing Inconsistant Time #8796

@bradonomics

Description

@bradonomics

When running bundle exec jekyll build --profile I'm getting inconsistant time output. You can see in the output below that the build time under Build Process Summary is 5.9669, but under Site Render Stats it is 11.631.

My Environment

Software Version(s)
Operating System Ubuntu 18.04
jekyll 4.2.0
html-pipeline 2.14.0
github-pages Not Used

Expected Behaviour

The time under Build Process Summary should be the same as that under Site Render Stats.

Current Behavior

The build time under Build Process Summary for this site is 5.9669, but under Site Render Stats it is 11.631

This site does have some custom plugins that rely on the html-pipeline gem. However, removing the html-pipeline gem and the plugins that require it has no effect on the output—there is still a missmatch between the Build Process Summary and Site Render Stats.

Note: The time under Site Render Stats is not always higher. In a different project, I'm getting Site Render Stats of 0.115 while the Build Process Summary is 0.4153.

Code Sample

$ bundle exec jekyll build --profile
Configuration file: ~/project/_config.yml
            Source: ~/project
       Destination: ~/project/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 

Build Process Summary: 

| PHASE      |   TIME |
+------------+--------+
| RESET      | 0.0002 |
| READ       | 0.1742 |
| GENERATE   | 0.0042 |
| RENDER     | 5.6775 |
| CLEANUP    | 0.0224 |
| WRITE      | 0.0884 |
+------------+--------+
| TOTAL TIME | 5.9669 |
 

Site Render Stats: 

| Filename                                                                                  | Count |     Bytes |   Time |
+-------------------------------------------------------------------------------------------+-------+-----------+--------+
| _includes/breadcrumbs.html                                                                |   122 |   101.21K |  2.873 |
| _includes/crumb.html                                                                      |   432 |    11.28K |  2.757 |
| _layouts/guide.html                                                                       |    52 |   656.66K |  1.657 |
| _layouts/documentation.html                                                               |    69 |  1098.76K |  1.473 |
| sitemap.xml                                                                               |     1 |    21.39K |  0.783 |
| _layouts/default.html                                                                     |   133 |  4956.31K |  0.616 |
| _includes/usa-banner.html                                                                 |   133 |   489.28K |  0.248 |
| _includes/header.html                                                                     |   133 |  1660.39K |  0.210 |
| _includes/language-switch.html                                                            |   133 |   121.31K |  0.197 |
| _includes/sidenav.html                                                                    |   116 |   812.14K |  0.189 |
| _includes/head.html                                                                       |   133 |   298.12K |  0.113 |
| _includes/doc-sidenav.html                                                                |    64 |   607.19K |  0.104 |
| _includes/guides-sidenav.html                                                             |    52 |   182.98K |  0.046 |
| _includes/lang_text.html                                                                  |  2030 |   106.44K |  0.042 |
| _includes/table.html                                                                      |     8 |    17.75K |  0.030 |
| _includes/alert.html                                                                      |    38 |    28.58K |  0.027 |
| pages/providers/es/planning-your-telehealth-workflow.md                                   |     1 |     7.53K |  0.021 |
| pages/patients/es/finding-telehealth-options.md                                           |     1 |     4.24K |  0.018 |
| pages/providers/es/telehealth-for-behavioral-health/billing-for-telebehavioral-health.md  |     1 |    11.10K |  0.018 |
| _includes/search-form.html                                                                |   133 |    42.92K |  0.014 |
| pages/partner-toolkit.md                                                                  |     1 |    14.76K |  0.014 |
| pages/providers/planning-your-telehealth-workflow.md                                      |     1 |     6.24K |  0.013 |
| _includes/spotlights.html                                                                 |    52 |     9.88K |  0.012 |
| _includes/touchpoints.html                                                                |   130 |    41.51K |  0.011 |
| pages/home.html                                                                           |     1 |    16.86K |  0.010 |
| _layouts/research.html                                                                    |     1 |    67.22K |  0.009 |
| pages/providers/telehealth-covid-19-vaccine_es.md                                         |     1 |     9.12K |  0.009 |
| pages/providers/sustain-your-telehealth-practice.md                                       |     1 |     5.01K |  0.008 |
| _includes/homepage_cards.html                                                             |     2 |    31.36K |  0.008 |
| pages/providers/telehealth-for-behavioral-health/billing-for-telebehavioral-health.md     |     1 |    10.05K |  0.008 |
| _includes/footer.html                                                                     |   133 |   463.57K |  0.007 |
| pages/providers/telehealth-covid-19-vaccine.md                                            |     1 |     8.15K |  0.007 |
| _includes/last_updated.html                                                               |   122 |     9.12K |  0.006 |
| pages/patients/es/telehealth-during-the-covid-19-emergency.md                             |     1 |     8.33K |  0.006 |
| pages/providers/es/telehealth-for-behavioral-health/index.md                              |     1 |    14.86K |  0.005 |
| _includes/contents_list.html                                                              |    64 |     9.09K |  0.005 |
| pages/patients/telehealth-during-the-covid-19-emergency.md                                |     1 |     7.21K |  0.005 |
| pages/providers/es/billing-and-reimbursement/index.md                                     |     1 |     5.88K |  0.005 |
| pages/providers/es/sustain-your-telehealth-practice.md                                    |     1 |     6.05K |  0.005 |
| pages/providers/billing-and-reimbursement/index.md                                        |     1 |     5.27K |  0.004 |
| pages/providers/es/telehealth-for-emergency-departments/billing.md                        |     1 |     5.04K |  0.004 |
| pages/providers/telehealth-for-emergency-departments/billing.md                           |     1 |     4.46K |  0.004 |
| pages/providers/es/index.html                                                             |     1 |    14.10K |  0.004 |
| _includes/lang-metadata.html                                                              |   133 |    18.31K |  0.004 |
| pages/patients/finding-telehealth-options.md                                              |     1 |     3.97K |  0.003 |
| _includes/landing-top-links.html                                                          |     6 |    62.01K |  0.003 |
| pages/providers/increasing-telehealth-equity-and-access/improving-access-to-telehealth.md |     1 |     8.95K |  0.003 |
| pages/providers/telehealth-for-behavioral-health/getting-started.md                       |     1 |     7.81K |  0.003 |
| pages/providers/es/telehealth-for-behavioral-health/getting-started.md                    |     1 |     9.28K |  0.003 |
| _includes/see-also.html                                                                   |   122 |     9.90K |  0.003 |
+-------------------------------------------------------------------------------------------+-------+-----------+--------+
| TOTAL (for 50 files)                                                                      |  4570 | 12128.96K | 11.631 |
 
                    done in 5.995 seconds.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions