「Iikanjini Speed Up Contest」
優勝賞金100万円!今年もやります ISUCON5 開催と日程のお知らせ #isucon
お題となるWebサービスを決められたレギュレーションの中で限界まで高速化を図るチューニングバトル、それがISUCONです。過去の実績も所属している会社も全く関係ない、結果が全てのガチンコバトルです。
ある日の朝、Webアプリケーションが一式、適当に設定されたサーバごと渡されます。あとベンチマークツールも渡されます。
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use utf8; | |
| use enum qw(Normal Fight Flying Poison Ground Rock Bug Ghost Steel Fire Water Grass Electr Psychc Ice Dragon Dark Fairy Max); | |
| use enum qw(S D H N); # Single, Double, Half, Nothing | |
| my $type_chart = [ | 
| ======================================================================== | |
| BYTE UNIX Benchmarks (Version 5.1.3) | |
| System: localhost.localdomain: GNU/Linux | |
| OS: GNU/Linux -- 2.6.32-358.el6.x86_64 -- #1 SMP Fri Feb 22 00:31:26 UTC 2013 | |
| Machine: x86_64 (x86_64) | |
| Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") | |
| CPU 0: Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz (5800.0 bogomips) | |
| x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET | |
| 11:25:00 up 8 min, 1 user, load average: 0.03, 0.08, 0.02; runlevel 3 | 
| Copyright (c) 2009 Google Inc. All rights reserved. | |
| Redistribution and use in source and binary forms, with or without | |
| modification, are permitted provided that the following conditions are | |
| met: | |
| * Redistributions of source code must retain the above copyright | |
| notice, this list of conditions and the following disclaimer. | |
| * Redistributions in binary form must reproduce the above | |
| copyright notice, this list of conditions and the following disclaimer | 
| use h1; | |
| use h2; | |
| use Data::Dumper; | |
| print "h1::\n" . Dumper \%h1::; | |
| print "h2::\n" . Dumper \%h2::; | |
| h1sub1; | |
| h2sub1; | 
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| ) | |
| type Struct struct { | |
| Inner struct { | |
| Value string | 
| package main | |
| import "github.com/veandco/go-sdl2/sdl" | |
| func main() { | |
| window := sdl.CreateWindow("test", sdl.WINDOWPOS_UNDEFINED, sdl.WINDOWPOS_UNDEFINED, | |
| 800, 600, sdl.WINDOW_SHOWN) | |
| surface := window.GetSurface() | |
| rect := sdl.Rect{0, 0, 200, 200} | 
| package box2dlite | |
| type Vec2 struct { | |
| X, Y float32 | |
| } | |
| func V2Add_Copy(v1 Vec2, v2 Vec2) Vec2 { | |
| return Vec2{v1.X + v2.X, v1.Y + v2.Y} | |
| } | 
「Iikanjini Speed Up Contest」
優勝賞金100万円!今年もやります ISUCON5 開催と日程のお知らせ #isucon
お題となるWebサービスを決められたレギュレーションの中で限界まで高速化を図るチューニングバトル、それがISUCONです。過去の実績も所属している会社も全く関係ない、結果が全てのガチンコバトルです。
ある日の朝、Webアプリケーションが一式、適当に設定されたサーバごと渡されます。あとベンチマークツールも渡されます。