游戏性能对比
var tableid = Math.floor(Math.pow((Math.random() + Math.random()) * 111, 3));
document.write('');
var myChart = echarts.init(document.getElementById(tableid));
var title_text = "四款处理器搭配索泰RTX 2080Ti X-Gaming OC显卡游戏测试 | 1080P "; // 标题文字热管
var subtitle_text = "www.expreview.com | Higher is better | 2018/10/22 "; // 副标题文字
var unit_text = "FPS "; //单位
var leftside = 70; //左边空白
var topside = 50; //每组间距
var mblur = 0.1; //模糊效果
var bgopacity = 0; //背景透明度,0为全透明
var mysort = 0; //是否排序
var myper = 1; //是否显示百分比
var mylengend = true; //是否显示图例
var toplegend = 55; //图例上端空白
var labelcolor = '#fff'; // 标签文字颜色
var legendwidth = '90%'; //图例宽度
var titlecolor = '#222'; //标题文字颜色
var barheight = 35; //柱高度
var bargap = 2; //柱间距,相当于百分值,即2%
var mycolor = ['#0dcc47', '#969696', '#6f7b80', '#6f7b88'];
//var mycolor = ['#cc0000', '#aaa', '#bbb', '#ccc', '#ddd', '#eee']; //自定义颜色
//var mycolor = ['#cc0000', '#953f61', '#72355f', '#d77169', '#d77169']; //自定义颜色
var data_arr = [{
"type": "全境封锁",
"酷睿i7-8700K": "168.6 ",
"酷睿i5-8600K": "171.0 ",
"酷睿i7-7700K": "162.8 ",
"酷睿i3-8350K": "157.5 "
},
{
"type": "全面战争:战锤2",
"酷睿i7-8700K": "132.8 ",
"酷睿i5-8600K": "129.6 ",
"酷睿i7-7700K": "128.7 ",
"酷睿i3-8350K": "121.2 "
},
{
"type": "杀手(2016)",
"酷睿i7-8700K": "113.4 ",
"酷睿i5-8600K": "108.5 ",
"酷睿i7-7700K": "102.5 ",
"酷睿i3-8350K": "98.1 "
},
{
"type": "文明6",
"酷睿i7-8700K": "266.7 ",
"酷睿i5-8600K": "251.3 ",
"酷睿i7-7700K": "258.3 ",
"酷睿i3-8350K": "247.1 "
},
{
"type": "奇点灰烬",
"酷睿i7-8700K": "102.2 ",
"酷睿i5-8600K": "102.3 ",
"酷睿i7-7700K": "100.9 ",
"酷睿i3-8350K": "91.7 "
},
{
"type": "GTA 5",
"酷睿i7-8700K": "111.9 ",
"酷睿i5-8600K": "111.8 ",
"酷睿i7-7700K": "111.9 ",
"酷睿i3-8350K": "109.7 "
},
{
"type": "孤岛惊魂5",
"酷睿i7-8700K": "142.0 ",
"酷睿i5-8600K": "137.0 ",
"酷睿i7-7700K": "132.0 ",
"酷睿i3-8350K": "121.0 "
},
{
"type": "古墓丽影:暗影",
"酷睿i7-8700K": "142.0 ",
"酷睿i5-8600K": "137.0 ",
"酷睿i7-7700K": "135.0 ",
"酷睿i3-8350K": "128.0"
}
]
var x_arr = [];
var l_arr = ToObject();
var p_arr = Topoint();
var maxdata = 0;
var ssData = [];
var xadata = [];
var container = document.getElementById(tableid);
echarts.util.each(data_arr, function(dataarr, idx) {
x_arr[idx] = dataarr.type
});
function setbh() {
var bh = barheight;
if (myChart.getWidth() < 555) bh = bh * 0.8;
return bh
}
var lh = function() {
var h = 88;
var ll = l_arr.join(' ').length * 6.5 + l_arr.length * 30;
if (mylengend) h = h + (Math.ceil(ll / myChart.getWidth()) - 1) * 20;
return h
}
var barh = 100 / (l_arr.length + 2 + (l_arr.length - 1) * bargap / 100);
var gridheight = setbh() * (l_arr.length + 2 + (l_arr.length - 1) * bargap / 100);
var resizeContainer = function() {
container.style.height = (gridheight + topside) * x_arr.length + lh() + "px"
};
resizeContainer();
var myChart = echarts.init(container);
var option = {
backgroundColor: 'rgba(128, 128, 128, bgopacity)',
color: mycolor,
title: [],
axisPointer: {
link: {
xAxisIndex: 'all'
},
label: {
backgroundColor: '#00B200'
}
},
tooltip: {
trigger: "axis",
axisPointer: {
type: 'cross'
}
},
toolbox: {
show: true,
feature: {
dataView: {
show: true,
readOnly: true
},
magicType: {
show: false,
type: ["line", "bar"]
},
restore: {
show: true
},
saveAsImage: {
show: true,
backgroundColor: ['rgba(128, 128, 128, 0.001)']
},
dataZoom: {
show: false
},
mark: {
show: false
}
},
y: "center",
orient: "vertical",
itemSize: 12
},
calculable: true,
legend: [],
xAxis: [],
yAxis: [],
grid: [],
animationDurationUpdate: 1000,
series: []
};
echarts.util.each(data_arr, function(dataarr, idx) {
x_arr[idx] = dataarr.type
});
echarts.util.each(x_arr, function(arr, idx) {
option.title.push({
show: gettitle(idx).bl,
top: 10,
text: title_text,
textStyle: {
color: titlecolor,
},
subtext: subtitle_text,
itemGap: 6
});
option.grid.push({
left: leftside,
right: 60,
height: gridheight,
top: 30 + topside + idx * (gridheight + topside)
});
option.legend.push({
data: l_arr,
show: mylengend,
width: legendwidth,
tooltip: {
show: true
},
textStyle: {
fontStyle: 'normal',
color: titlecolor
},
itemWidth: 14,
itemHeight: 10,
right: p_arr[2],
top: p_arr[3]
});
if (mysort > 0) option.series = getss(idx).sort(function(a, b) {
return a.data - b.data
});
else option.series = getss(idx);
option.xAxis = getxa(idx);
option.yAxis.push({
gridIndex: idx,
type: "category",
axisLine: {
lineStyle: {
color: titlecolor
}
},
nameGap: 6,
data: [{
value: arr,
textStyle: {
color: 'rgba(100,100,100,0)',
}
}],
nameLocatio: 'end',
name: arr,
splitLine: {
show: false,
lineStyle: {
type: "dashed"
}
},
})
});
function getss(j) {
for (var i = 0; i < l_arr.length; i++) {
var per = ' ' + ([data_arr[j][l_arr[i]]] / [data_arr[j][l_arr[0]]] * 100).toFixed(1) + "%";
if (myper === 0) per = '';
ssData.push({
name: l_arr[i],
type: 'bar',
xAxisIndex: j,
yAxisIndex: j,
itemStyle: {
normal: {
label: {
show: true,
textStyle: {
color: labelcolor
},
formatter: '{a} : {c}' + per,
position: "insideLeft"
},
shadowBlur: mblur * 100,
shadowColor: 'rgba(0, 0, 0, 0.5)'
}
},
barWidth: "" + barh + "%",
barGap: "" + bargap + "%",
data: getdata(j, i),
})
}
return ssData
}
function getxa(j) {
xadata.push({
gridIndex: j,
nameLocatio: 'end',
nameGap: 7,
axisLine: {
lineStyle: {
color: titlecolor
}
},
name: unit_text,
splitLine: {
show: true,
lineStyle: {
type: "dashed"
}
}
});
return xadata
}
function gettitle(i) {
var text = title_text;
var bl = true;
var y = 20;
var gt = 80;
if (i > 0) {
text = null;
y = 0;
bl = false
}
return {
text,
y,
bl,
gt
}
}
function findwidth() {
var winWidth = 0;
if (window.innerWidth) winWidth = window.innerWidth;
else if ((document.body) && (document.body.clientWidth)) winWidth = document.body.clientWidth;
if (winWidth > 700) winWidth = 680;
else winWidth = winWidth - 80;
winWidth = (winWidth - 20 * l_arr.length) / l_arr.length;
return winWidth
}
function getdata(x, t) {
var tempdata = [];
var j = 0;
tempdata[0] = data_arr[x][l_arr[t]];
if (j < tempdata[0]) j = tempdata[0];
if (j > maxdata) maxdata = Math.ceil(j / 10) * 10;
return tempdata
}
function getlegend(s) {
var tempdata = [];
tempdata[0] = s;
return tempdata
}
function getmax(t) {
var max = 0;
var min = data_arr[t][l_arr[0]];
for (var i = 0; i < l_arr.length; i++) {
if (max < data_arr[t][l_arr[i]]) max = data_arr[t][l_arr[i]];
if (min > data_arr[t][l_arr[i]]) min = data_arr[t][l_arr[i]]
}
return {
max,
min
}
}
function ToObject() {
var i = 0;
var array = [];
for (var key in data_arr[0]) {
array[i] = key;
i++
}
array.shift();
return array
}
function Topoint() {
var i = 0;
var array = [];
var ss = "";
var j = 0;
if (l_arr.length < 3) {
array = [120, 22, 30, toplegend]
} else {
array = [100, 60, 'auto', 'bottom']
}
return array
}
myChart.setOption(option, true);
总体来说是这样的结果,在1080P分辨率下:高端显卡配高档CPU一般来说游戏表现肯定是最好的,但是高端显卡配中高端CPU、中端的CPU,其游戏表现与配高档CPU相比差距很小。
如果你要问RTX 2080
Ti这样高端的显卡为什么还在1080P分辨率游戏,那么告诉你,在高画质+4K分辨率的设定下,显卡所表现出来的性能瓶颈远大于处理器所表现出来的,高档与中档处理器的性能差距更加难以体现。
但是低到入门级别的2核4线程或者更低的2核2线程肯定就不合适了,我们统计了超能网近三年的游戏CPU需求测试,从中可以看到,2核4线程或者更低的2核2线程处理器搭配高端显卡时,确实CPU的瓶颈非常明显。
所以说对于高端显卡
是否一定要配高档CPU这个问题,完全看自己应用场景和需求,或者如果你预算充足的话,直接配最好的CPU肯定没错,如果买完高端显卡后预算紧张只能考虑中高端或者中端处理器,也不用觉得巨亏,就目前的情况来看,对于大多数游戏,主流的中端4核4线程处理器也基本上能发挥出高端显卡该有的性能,与高端显卡+高档CPU组合的差距甚小。