SET NOCOUNT ON; USE master; IF DB_ID('Performance') IS NULL CREATE DATABASE performance; GO USE Performance; GO --创建和填充数字辅助表 SET NOCOUNT ON; IF OBJECT ...
分类:
数据库 时间:
2020-03-29 21:02:11
阅读次数:
77
Gin is a web framework written in Go (Golang). It features a martini-like API with performance that is up to 40 times faster thanks to httprouter. git ...
分类:
其他好文 时间:
2020-03-28 23:49:11
阅读次数:
135
一、前言 在Spring Boot Admin Server 中撒送预警邮件通知是很简单的,只需要简单的几个配置就可以了。 二、代码演示 1、microservice-monitor-server -> pom.xml <?xml version="1.0" encoding="UTF-8"?> < ...
分类:
编程语言 时间:
2020-03-28 19:45:38
阅读次数:
215
Synchronize实现原理 java对象头中存在一个指向monitor对象的指针。每个java对象在内存中都对应一个monitor对象。monitor对象就是用来存放对象的锁信息的。 monitor对象重要属性: count:用来存放当前对象被获取锁的次数,0表示对象没有被线程占有。 owner ...
分类:
其他好文 时间:
2020-03-28 10:35:34
阅读次数:
92
返回主页 回到顶端 目录 所在包 All Implemented Interfaces(所有已实现接口) Constructor Summary(构造函数的总结) Method Summary(方法总结) Constructor Detail(构造方法详述) Method Detail(方法详述) ...
分类:
其他好文 时间:
2020-03-26 21:53:33
阅读次数:
114
阅读 817 维基百科中对伪共享的定义如下: In computer science, false sharing is a performance-degrading usage pattern that can arise in systems with distributed, coheren ...
分类:
编程语言 时间:
2020-03-26 19:58:52
阅读次数:
92
In this lesson we will see how to measure the used JS heap size in chrome. This can be used for various needs from performance debugging to production ...
分类:
Web程序 时间:
2020-03-26 19:50:09
阅读次数:
102
Sometimes you'd like to measure how two implementations compare in regards to run time. In this lesson you will learn how to quickly do this using Con ...
分类:
Web程序 时间:
2020-03-26 19:44:25
阅读次数:
87
1.查询数据库 查看有哪些数据库: 1 SHOW DATABASES; information_schema:数据字典 mysql:控制和管理信息 performance_schema:性能字典 sys:系统数据库 查看数据库信息: SHOW CREATE DATABASE 数据库名称; 1 SHO ...
分类:
数据库 时间:
2020-03-25 23:24:19
阅读次数:
87
--查询编译以来cpu耗时总量最多的前50条(Total_woker_time)SELECTTOP50total_worker_time/1000AS[总消耗CPU时间(ms)],execution_count[运行次数],qs.total_worker_time/qs.execution_count/1000AS[平均消耗CPU时间(ms)],last_execution_timeAS[最后一次
分类:
数据库 时间:
2020-03-24 10:39:07
阅读次数:
82