- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我们 CI 构建的 GitVersion 步骤现在需要 4-5 分钟,我们无法真正弄清楚原因。以下是一些基本日志:
2018-09-25T14:31:02.4222252Z ##[section]Starting: GitVersion
2018-09-25T14:31:02.4227925Z ==============================================================================
2018-09-25T14:31:02.4228168Z Task : GitVersion Task
2018-09-25T14:31:02.4228396Z Description : Easy Semantic Versioning (http://semver.org) for projects using Git
2018-09-25T14:31:02.4228654Z Version : 3.6.5
2018-09-25T14:31:02.4229010Z Author : GitVersion Contributors
2018-09-25T14:31:02.4229302Z Help : See the [documentation](http://gitversion.readthedocs.org/en/latest/) for help
2018-09-25T14:31:02.4229565Z ==============================================================================
2018-09-25T14:31:02.4366228Z Preparing task execution handler.
2018-09-25T14:31:02.6709097Z Executing the powershell script: d:\w\_tasks\GitVersion_e5983830-3f75-11e5-82ed-81492570a08e\3.6.5\GitVersion.ps1
2018-09-25T14:31:03.0124372Z Current Directory: D:\w\_tasks\GitVersion_e5983830-3f75-11e5-82ed-81492570a08e\3.6.5
2018-09-25T14:31:03.0124924Z
2018-09-25T14:31:03.0125184Z
2018-09-25T14:31:03.0130879Z Sources Directory: d:\w\1\s
2018-09-25T14:31:03.0131239Z
2018-09-25T14:31:03.0131454Z
2018-09-25T14:31:03.0230450Z Invoking GitVersion with d:\w\1\s /output buildserver /nofetch
2018-09-25T14:31:03.0231023Z
2018-09-25T14:31:03.0231265Z
2018-09-25T14:31:03.0285337Z D:\w\_tasks\GitVersion_e5983830-3f75-11e5-82ed-81492570a08e\3.6.5\GitVersion.exe d:\w\1\s /output buildserver /nofetch
2018-09-25T14:31:03.1207954Z INFO [09/25/18 14:31:03:10] Working directory: d:\w\1\s
2018-09-25T14:31:03.1208779Z INFO [09/25/18 14:31:03:10] IsDynamicGitRepository: False
2018-09-25T14:31:03.1344488Z INFO [09/25/18 14:31:03:12] Returning Project Root from DotGitDirectory: d:\w\1\s\.git - d:\w\1\s
2018-09-25T14:31:03.1380473Z INFO [09/25/18 14:31:03:12] Running on Windows.
2018-09-25T14:31:03.1438147Z INFO [09/25/18 14:31:03:13] Applicable build agent found: 'VsoAgent'.
2018-09-25T14:31:03.1442989Z INFO [09/25/18 14:31:03:13] Branch from build environment: refs/heads/develop
2018-09-25T14:32:49.2277821Z INFO [09/25/18 14:32:49:22] IsDynamicGitRepository: False
2018-09-25T14:32:49.2281217Z INFO [09/25/18 14:32:49:22] Returning Project Root from DotGitDirectory: d:\w\1\s\.git - d:\w\1\s
2018-09-25T14:32:49.2281501Z INFO [09/25/18 14:32:49:22] Project root is: d:\w\1\s
2018-09-25T14:32:49.2281789Z INFO [09/25/18 14:32:49:22] DotGit directory is: d:\w\1\s\.git
2018-09-25T14:32:49.4925166Z INFO [09/25/18 14:32:49:47] IsDynamicGitRepository: False
2018-09-25T14:32:49.4926214Z INFO [09/25/18 14:32:49:47] Returning Project Root from DotGitDirectory: d:\w\1\s\.git - d:\w\1\s
2018-09-25T14:32:49.5009080Z INFO [09/25/18 14:32:49:49] Begin: Loading version variables from disk cache
2018-09-25T14:32:49.5014606Z INFO [09/25/18 14:32:49:49] Cache file d:\w\1\s\.git\gitversion_cache\EDAA5BA150AAFFAFF7ABE57C2BFD74AA4AA3B217.yml not found.
2018-09-25T14:32:49.5021815Z INFO [09/25/18 14:32:49:49] End: Loading version variables from disk cache (Took: 0.00ms)
2018-09-25T14:32:49.5029581Z INFO [09/25/18 14:32:49:49] IsDynamicGitRepository: False
2018-09-25T14:32:49.5030888Z INFO [09/25/18 14:32:49:49] Returning Project Root from DotGitDirectory: d:\w\1\s\.git - d:\w\1\s
2018-09-25T14:32:49.5151471Z INFO [09/25/18 14:32:49:50] Using latest commit on specified branch
2018-09-25T14:32:50.2769177Z INFO [09/25/18 14:32:50:27] Running against branch: develop (c7dfbbf862e9681bea20563bd4591f004ee74f0d)
2018-09-25T14:32:50.2862740Z INFO [09/25/18 14:32:50:27] Begin: Calculating base versions
2018-09-25T14:32:50.5260304Z INFO [09/25/18 14:32:50:52] Fallback base version: 0.1.0 with commit count source ed0e73ed52b1f271e3914267b510b5dd230eedce
2018-09-25T14:33:02.7492807Z INFO [09/25/18 14:33:02:74] Git tag 'v0.5.0-unstable.3243': 0.5.0-unstable.3243 with commit count source 63ee9c744ab7eeec6ea313f9630087b7c4cde4f1
2018-09-25T14:33:02.7607508Z INFO [09/25/18 14:33:02:75] Git tag 'v0.5.0-unstable.3240': 0.5.0-unstable.3240 with commit count source d71d3d708b84252ad53f256000279142e9288687
2018-09-25T14:33:02.7698133Z INFO [09/25/18 14:33:02:75] Git tag 'v0.5.0-ie11-clipboard.9+3256': 0.5.0-ie11-clipboard.9+3256 with commit count source 438fd61e9a4ee18abd55f956764a92595097be45
... for about 3000 lines ...
2018-09-25T14:33:54.1517668Z INFO [09/25/18 14:33:54:14] Git tag 'v0.1.0-unstable.1736': 0.1.0-unstable.1736 with commit count source 1469b1d1b38e7113ff765b3d591d42529f03f03a
2018-09-25T14:33:54.1734453Z INFO [09/25/18 14:33:54:16] Git tag 'v0.1.0-unstable.1735': 0.1.0-unstable.1735 with commit count source 5375858e279e253fc4578af8b0be29d5b4269e3e
2018-09-25T14:33:54.2005144Z INFO [09/25/18 14:33:54:19] Git tag 'v0.1.0-unstable.1734': 0.1.0-unstable.1734 with commit count source 63b6ad54121d9e4d06ddac4e80eda3f9f5709763
2018-09-25T14:34:09.7603293Z INFO [09/25/18 14:34:09:75] Merge target tagged 'v0.5.0-unstable.3243': 0.5.0-unstable.3243 with commit count source 63ee9c744ab7eeec6ea313f9630087b7c4cde4f1
2018-09-25T14:34:09.7706672Z INFO [09/25/18 14:34:09:75] Merge target tagged 'v0.5.0-unstable.3240': 0.5.0-unstable.3240 with commit count source d71d3d708b84252ad53f256000279142e9288687
2018-09-25T14:34:09.7805193Z INFO [09/25/18 14:34:09:77] Merge target tagged 'v0.5.0-ie11-clipboard.9+3256': 0.5.0-ie11-clipboard.9+3256 with commit count source 438fd61e9a4ee18abd55f956764a92595097be45
... for about 4000 lines like these ...
2018-09-25T14:35:13.8552137Z INFO [09/25/18 14:35:13:85] Merge target tagged 'v0.1.0-unstable.1736': 0.1.0-unstable.1736 with commit count source 1469b1d1b38e7113ff765b3d591d42529f03f03a
2018-09-25T14:35:13.8851950Z INFO [09/25/18 14:35:13:88] Merge target tagged 'v0.1.0-unstable.1735': 0.1.0-unstable.1735 with commit count source 5375858e279e253fc4578af8b0be29d5b4269e3e
2018-09-25T14:35:13.9069833Z INFO [09/25/18 14:35:13:89] Merge target tagged 'v0.1.0-unstable.1734': 0.1.0-unstable.1734 with commit count source 63b6ad54121d9e4d06ddac4e80eda3f9f5709763
2018-09-25T14:35:14.1701044Z INFO [09/25/18 14:35:14:16] Merge message 'Merge remote-tracking branch 'origin/release/v0.4.4' into develop': 0.4.4 with commit count source 081fe710a28ef0698520cc71c04ab4dd84028cbb
2018-09-25T14:35:14.1845666Z INFO [09/25/18 14:35:14:18] Merge message 'Merge branch 'release/v0.4.4' into develop': 0.4.4 with commit count source 46869edcecde68f5dc6d48721f0f4bb33b966932
2018-09-25T14:35:14.2046186Z INFO [09/25/18 14:35:14:19] Merge message 'Merge branch 'release/v0.4.4' of https://Company.visualstudio.com/Project/_git/GitRepo into release/v0.4.4': 0.4.4 with commit count source 407eea8e4dc3e779bc29359c39366e92f74db3dc
2018-09-25T14:35:14.2204322Z INFO [09/25/18 14:35:14:21] Merge message 'Merge branch 'hotfix/0.4.3'': 0.4.3 with commit count source 7e520eefc12c7aae61576fefba9aecb733259fdd
2018-09-25T14:35:14.2360008Z INFO [09/25/18 14:35:14:22] Merge message 'Merge branch 'hotfix/0.4.3' into develop': 0.4.3 with commit count source aa1bf7038192e1e43c5922997e9c7deee32365bb
2018-09-25T14:35:14.2505000Z INFO [09/25/18 14:35:14:24] Merge message 'Merge remote-tracking branch 'origin/release/v0.4.1' into develop': 0.4.1 with commit count source a00395b8c59b7bc0f1b4f6b2e15a69d779f00be5
2018-09-25T14:35:14.2754392Z INFO [09/25/18 14:35:14:27] Found multiple base versions which will produce the same SemVer (0.5.0), taking oldest source for commit counting (Merge message 'Merge branch 'hotfix/0.4.3' into develop')
2018-09-25T14:35:14.2754999Z INFO [09/25/18 14:35:14:27] Base version used: Merge message 'Merge remote-tracking branch 'origin/release/v0.4.1' into develop': 0.4.1 with commit count source aa1bf7038192e1e43c5922997e9c7deee32365bb
2018-09-25T14:35:14.2755712Z INFO [09/25/18 14:35:14:27] End: Calculating base versions (Took: 144,000.01ms)
2018-09-25T14:35:15.0181063Z INFO [09/25/18 14:35:15:00] 3280 commits found between aa1bf7038192e1e43c5922997e9c7deee32365bb and c7dfbbf862e9681bea20563bd4591f004ee74f0d
2018-09-25T14:35:15.0446700Z INFO [09/25/18 14:35:15:03] Begin: Creating dictionary
2018-09-25T14:35:15.0478209Z INFO [09/25/18 14:35:15:03] End: Creating dictionary (Took: 0.00ms)
2018-09-25T14:35:15.0503865Z INFO [09/25/18 14:35:15:03] Begin: Storing version variables to cache file d:\w\1\s\.git\gitversion_cache\EDAA5BA150AAFFAFF7ABE57C2BFD74AA4AA3B217.yml
2018-09-25T14:35:15.1043234Z INFO [09/25/18 14:35:15:10] End: Storing version variables to cache file d:\w\1\s\.git\gitversion_cache\EDAA5BA150AAFFAFF7ABE57C2BFD74AA4AA3B217.yml (Took: 62.50ms)
2018-09-25T14:35:15.1109747Z INFO [09/25/18 14:35:15:10] Applicable build agent found: 'VsoAgent'.
2018-09-25T14:35:15.1119265Z Executing GenerateSetVersionMessage for 'VsoAgent'.
2018-09-25T14:35:15.2560540Z Executing GenerateBuildLogOutput for 'VsoAgent'.
2018-09-25T14:35:15.2633144Z ##[section]Async Command Start: Update Build Number
2018-09-25T14:35:15.4482707Z Update build number to 0.5.0-unstable.3280 for build 6560
2018-09-25T14:35:15.4483044Z ##[section]Async Command End: Update Build Number
2018-09-25T14:35:15.4484260Z ##[section]Finishing: GitVersion
最佳答案
您是否使用主线并且很少创建标签来设置版本?
如果是这样,请尝试不时使用标签设置版本。
否则 gitversion 将通过大量历史来计算版本。
https://gitversion.readthedocs.io/en/latest/reference/mainline-development/#mainline-development
关于GitVersion 性能下降,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52501073/
在这段令人惊叹的视频 ( https://www.youtube.com/watch?v=udix3GZouik ) 中,Alex Blom 谈到了 Ember 在移动世界中的“黑客攻击”。 在 22
我们希望通过我们的应用收集使用情况统计信息。因此,我们希望在服务器端的某个地方跟踪用户操作。 就性能而言,哪个选项更合适: 在 App Engine 请求日志中跟踪用户操作。即为每个用户操作写入一个日
在针对对象集合的 LINQ 查询的幕后究竟发生了什么?它只是语法糖还是发生了其他事情使其更有效的查询? 最佳答案 您是指查询表达式,还是查询在幕后的作用? 查询表达式首先扩展为“普通”C#。例如: v
我正在构建一个简单的照片库应用程序,它在列表框中显示图像。 xaml 是:
对于基于 Web 的企业应用程序,使用“静态 Hashmap 存储对象” 和 apache java 缓存系统有何优缺点?哪一个最有利于性能并减少堆内存问题 例如: Map store=Applica
我想知道在性能方面存储类变量的最佳方式是什么。我的意思是,由于 Children() 函数,存储一个 div id 比查找所有其他类名更好。还是把类名写在变量里比较好? 例如这样: var $inne
我已经阅读了所有这些关于 cassandra 有多快的文章,例如单行读取可能需要大约 5 毫秒。 到目前为止,我不太关心我的网站速度,但是随着网站变得越来越大,一些页面开始需要相当多的查询,例如一个页
最近,我在缓存到内存缓存之前的查询一直需要很长时间才能处理!在这个例子中,它花费了 10 秒。在这种情况下,我要做的就是获得 10 个最近的点击。 我感觉它加载了所有 125,592 行然后只返回 1
我找了几篇文章(包括SA中的一些问题),试图找到基本操作的成本。 但是,我尝试制作自己的小程序,以便自己进行测试。在尝试测试加法和减法时,我遇到了一些问题,我用简单的代码向您展示了这一点
这个问题在这里已经有了答案: Will Java app slow down by presence of -Xdebug or only when stepping through code? (
我记得很久以前读过 with() 对 JavaScript 有一些严重的性能影响,因为它可能对范围堆栈进行非确定性更改。我很难找到最近对此的讨论。这仍然是真的吗? 最佳答案 与其说 with 对性能有
我们有一个数据仓库,其中包含非规范化表,行数从 50 万行到 6 多万行不等。我正在开发一个报告解决方案,因此出于性能原因我们正在使用数据库分页。我们的报告有搜索条件,并且我们已经创建了必要的索引,但
我有一条有效的 SQL 语句,但需要很长时间才能处理 我有一个 a_log 表和一个 people 表。我需要在 people 表中找到给定人员的每个 ID 的最后一个事件和关联的用户。 SELECT
很难说出这里问的是什么。这个问题是含糊的、模糊的、不完整的、过于宽泛的或修辞性的,无法以目前的形式得到合理的回答。如需帮助澄清此问题以便重新打开它,visit the help center 。 已关
通常当我建立一个站点时,我将所有的 CSS 放在一个文件中,并且一次性定义与一组元素相关的所有属性。像这样: #myElement { color: #fff; background-
两者之间是否存在任何性能差异: p { margin:0px; padding:0px; } 并省略最后的分号: p { margin:0px; padding:0px } 提前致谢!
我的应用程序 (PHP) 需要执行大量高精度数学运算(甚至可能出现一共100个数字) 通过这个论坛的最后几篇帖子,我发现我必须使用任何高精度库,如 BC Math 或 GMP,因为 float 类型不
我一直在使用 javamail 从 IMAP 服务器(目前是 GMail)检索邮件。 Javamail 非常快速地从服务器检索特定文件夹中的消息列表(仅 id),但是当我实际获取消息(仅包含甚至不包含
我非常渴望开发我的第一个 Ruby 应用程序,因为我的公司终于在内部批准了它的使用。 在我读到的关于 Ruby v1.8 之前的所有内容中,从来没有任何关于性能的正面评价,但我没有发现关于 1.9 版
我是 Redis 的新手,我有一个包含数百万个成员(member) ID、电子邮件和用户名的数据集,并且正在考虑将它们存储在例如列表结构中。我认为 list 和 sorted set 可能最适合我的情
我是一名优秀的程序员,十分优秀!