glmark2 -s 2560x1440
で測定
Ubuntu 22.04.4 LTSのデフォルト状態と、AMD Radeon™ & Radeon PRO™ グラフィックス用の Linux® ドライバーを入れた状態で比較
全体結果は デフォルト: 1953、AMDドライバ: 2000 ということで、AMDドライバのほうが2.4%結果が良かった。 個別のベンチマークもほとんどがAMDドライバのほうが良いので、測定誤差などではなさそうに見える。
glmark2 -s 2560x1440
で測定
Ubuntu 22.04.4 LTSのデフォルト状態と、AMD Radeon™ & Radeon PRO™ グラフィックス用の Linux® ドライバーを入れた状態で比較
全体結果は デフォルト: 1953、AMDドライバ: 2000 ということで、AMDドライバのほうが2.4%結果が良かった。 個別のベンチマークもほとんどがAMDドライバのほうが良いので、測定誤差などではなさそうに見える。
I hereby claim:
To claim this, I am signing this object:
@powershell -NoProfile -ExecutionPolicy Unrestricted "&([ScriptBlock]::Create((cat \"%~f0\" | ?{$_.ReadCount -gt 1}) -join \"`n\"))" %* & goto:eof | |
$Signature = @' | |
[DllImport("kernel32.dll")] | |
public static extern int SetThreadExecutionState(int esFlags); | |
'@ | |
$Foo = Add-Type -MemberDefinition $Signature -Name "Bar" -Namespace Baz -PassThru | |
echo "NoSleep started. Press Ctrl+C to exit." |
#!/bin/bash | |
set -e | |
set -u | |
DEFAULT_ORGANIZATION=tksst | |
function getconf(){ | |
git config --local "$1"|| true | |
} |
name: Check if the branch is tied to PR | |
on: | |
workflow_call: | |
outputs: | |
tied-to-pr: | |
description: Whether the branch is tied to PR or not | |
value: ${{ jobs.check-pr.outputs.tied-to-pr }} | |
jobs: |
import fs from "node:fs/promises"; | |
import path from "node:path"; | |
function isNil(it) { | |
return it === null || it === undefined; | |
} | |
function isNotNil(it) { | |
return it !== null && it !== undefined; | |
} |
import fs from "node:fs/promises"; | |
import path from "node:path"; | |
async function* recursiveReaddir(dir: string): AsyncGenerator<string> { | |
const dirents = await fs.readdir(dir, { withFileTypes: true }); | |
for (const dirent of dirents) { | |
const joined = path.join(dir, dirent.name); | |
if (dirent.isDirectory()) { | |
// eslint-disable-next-line no-await-in-loop | |
for await (const name of recursiveReaddir(joined)) { |
@echo off | |
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" /v "DefaultConnectionSettings" /t REG_BINARY /d "4600000016" /f | |
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v "AutoConfigURL" /t REG_SZ /d "http://YOUR_PAC_URL" /f | |
if errorlevel 1 ( | |
echo error occured | |
pause | |
) |
typedef struct | |
{ | |
char *str; | |
conn_rec *c; | |
} dump_conn_notes_ctx; | |
static int foo(void *rec, const char *key, const char *value) | |
{ | |
dump_conn_notes_ctx *v = rec; |