ShanSan
博文
归档
友链
关于
与我相关
Github
slides
notes
Monitor
云原生
暗黑模式
博文
归档
友链
关于
与我相关
Github
slides
notes
Monitor
云原生
暗黑模式
More & Less
created by yeshan333
博文
关于我
友链
开往
十年之约虫洞
境内访问
Elixir 连续运行时代码覆盖率采集方案
1. 浅谈代码覆盖率作为 SET 和 SWE, 我们经常需要编写单元测试或集成测试用例来验证系统/应用的正确性, 但同时我们也常会质疑我们的测试是否充分了. 这时测试覆盖率是可以辅助用来衡量我们测试充分程度的一种手段, 增强发布成功率与信心, 同时给了我们更多可思考的视角. 值的注意的是代码覆盖率高不能说明代码质量高, 但是反过来看, 代码覆盖率低, 代码质量不会高到哪里去. 大部...
2022-06-29
Elixir
Elixir
阅读全文
(译) Understanding Elixir Macros, Part 6 - In-place Code Generation
Elixir Macros 系列文章译文 [1] (译) Understanding Elixir Macros, Part 1 Basics [2] (译) Understanding Elixir Macros, Part 2 - Macro Theory [3] (译) Understanding Elixir Macros, Part 3 - Getting into the A...
2022-06-19
Elixir
Elixir
阅读全文
(译) Understanding Elixir Macros, Part 5 - Reshaping the AST
Elixir Macros 系列文章译文 [1] (译) Understanding Elixir Macros, Part 1 Basics [2] (译) Understanding Elixir Macros, Part 2 - Macro Theory [3] (译) Understanding Elixir Macros, Part 3 - Getting into the A...
2022-06-19
Elixir
Elixir
阅读全文
(译) Understanding Elixir Macros, Part 4 - Diving Deeper
Elixir Macros 系列文章译文 [1] (译) Understanding Elixir Macros, Part 1 Basics [2] (译) Understanding Elixir Macros, Part 2 - Macro Theory [3] (译) Understanding Elixir Macros, Part 3 - Getting into the A...
2022-06-19
Elixir
Elixir
阅读全文
(译) Understanding Elixir Macros, Part 3 - Getting into the AST
Elixir Macros 系列文章译文 [1] (译) Understanding Elixir Macros, Part 1 Basics [2] (译) Understanding Elixir Macros, Part 2 - Macro Theory [3] (译) Understanding Elixir Macros, Part 3 - Getting into the A...
2022-06-19
Elixir
Elixir
阅读全文
(译) Understanding Elixir Macros, Part 2 - Macro Theory
Elixir Macros 系列文章译文 [1] (译) Understanding Elixir Macros, Part 1 Basics [2] (译) Understanding Elixir Macros, Part 2 - Macro Theory [3] (译) Understanding Elixir Macros, Part 3 - Getting into the A...
2022-06-19
Elixir
Elixir
阅读全文
(译) Understanding Elixir Macros, Part 1 Basics
Elixir Macros 系列文章译文 [1] (译) Understanding Elixir Macros, Part 1 Basics [2] (译) Understanding Elixir Macros, Part 2 - Macro Theory [3] (译) Understanding Elixir Macros, Part 3 - Getting into the A...
2022-06-18
Elixir
Elixir
阅读全文
(译) 理解 Prometheus 的范围向量 (Range Vector)
Prometheus 中 Range Vector 的概念是有一点不直观的,除非你彻底阅读并理解了官方提供的文档。谁会这样做呢,去读官方文档?大多的人应该会花些错误的时间去做了一些错误的事情,然后随机去寻找一篇像本文一样的文章去理解这个概念,不是吗? 什么是 Vector由于 Prometheus 是一个时序型的数据库,所以所有的数据都在基于时间戳的上下文中被定义。由时间戳到记录数据的映射(...
2022-04-23
Prometheus
Prometheus
阅读全文
Go json Marshal & UnMarshal 的一点小 trick
在编写 Web Service 等涉及数据序列化和反序列化的场景,对于 JSON 类型的数据,在 Go 中我们经常会使用到 encoding/json Package。最近微有所感,小水一篇 omitemptyJSON 数据的 UnMarshal 我们经常会配合 Struct Tags 使用,让 Struct 的 Filed 与 JSON 数据的指定 property 绑定。 如果...
2022-03-30
Go
Go
阅读全文
profiling & Flame Graphs
忽然想起来还没怎么用过 profiling tools,这可是性能分析“杀器”啊,小水一波,兴许以后就用上了🙃。 profiling profiling,分析。有很多时候,我们都会相对处于 runtime 的程序进行指标 & 特征分析,比如 CPU 使用情况、内存使用情况,race 检测等。 Flame Graphs(火焰图) Flame Graph,火焰图。火焰图是一种常用的可...
2022-02-26
Performance
Profiling
Performance
Profiling
阅读全文
上一页
3 / 16
下一页
粘贴文本
全选文本
剪切文本
复制文本
站内搜索
必应搜索
新标签页打开
复制链接地址
复制图片
谷歌识图
Google
Slides
GitHub
shan333.cn
暗黑模式
打印页面
阅读模式